diff options
author | louiz’ <louiz@louiz.org> | 2018-05-23 01:09:19 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-05-23 01:09:36 +0200 |
commit | 7d3c1ed92733a05ab4282993ffe58fb88a1b50e9 (patch) | |
tree | ceff2349e60cba773a28168c3adcc7cb79b3d2b2 /src/irc | |
parent | 1c4620d992d64e585c028659b0001b5f8ba94235 (diff) | |
download | biboumi-7d3c1ed92733a05ab4282993ffe58fb88a1b50e9.tar.gz biboumi-7d3c1ed92733a05ab4282993ffe58fb88a1b50e9.tar.bz2 biboumi-7d3c1ed92733a05ab4282993ffe58fb88a1b50e9.tar.xz biboumi-7d3c1ed92733a05ab4282993ffe58fb88a1b50e9.zip |
Do not use (or present to the user) the Address field in fixed mode
fix #3359
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/irc_client.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp index d0b2153..d7fa2cd 100644 --- a/src/irc/irc_client.cpp +++ b/src/irc/irc_client.cpp @@ -195,7 +195,8 @@ void IrcClient::start() # ifdef BOTAN_FOUND this->credential_manager.set_trusted_fingerprint(options.col<Database::TrustedFingerprint>()); # endif - if (!options.col<Database::Address>().empty()) + if (Config::get("fixed_irc_server", "").empty() && + !options.col<Database::Address>().empty()) address = options.col<Database::Address>(); #endif this->bridge.send_xmpp_message(this->hostname, "", "Connecting to " + |