diff options
author | louiz’ <louiz@louiz.org> | 2017-09-09 17:09:17 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-09-09 17:09:17 +0200 |
commit | bfcf29451787d10c747ad79cb3fd177ac86e9cf1 (patch) | |
tree | 20e34434b136300cdfb3f99f07c76e6b7b9c726c /src/bridge | |
parent | 8d99374f1f02a4d229b49f6697247eb1e1f4f940 (diff) | |
download | biboumi-bfcf29451787d10c747ad79cb3fd177ac86e9cf1.tar.gz biboumi-bfcf29451787d10c747ad79cb3fd177ac86e9cf1.tar.bz2 biboumi-bfcf29451787d10c747ad79cb3fd177ac86e9cf1.tar.xz biboumi-bfcf29451787d10c747ad79cb3fd177ac86e9cf1.zip |
Add the persistent_by_default configuration option
fix #3293
Diffstat (limited to 'src/bridge')
-rw-r--r-- | src/bridge/bridge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp index 02ba565..8587264 100644 --- a/src/bridge/bridge.cpp +++ b/src/bridge/bridge.cpp @@ -435,7 +435,7 @@ void Bridge::leave_irc_channel(Iid&& iid, const std::string& status_message, con bool persistent = false; #ifdef USE_DATABASE const auto goptions = Database::get_global_options(this->user_jid); - if (goptions.col<Database::Persistent>()) + if (goptions.col<Database::GlobalPersistent>()) persistent = true; else { |