summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-11-07 23:06:04 +0100
committerlouiz’ <louiz@louiz.org>2017-11-07 23:18:30 +0100
commit90dd8e8b422efdb1fc6c1fb6bfcbc423a4f700a3 (patch)
tree509aa8c209b84266ca5fb7f6b351db9413b67dd5
parentcb6b50dc0109ee3a201a4012b63f3914cc5ea6e3 (diff)
downloadbiboumi-90dd8e8b422efdb1fc6c1fb6bfcbc423a4f700a3.tar.gz
biboumi-90dd8e8b422efdb1fc6c1fb6bfcbc423a4f700a3.tar.bz2
biboumi-90dd8e8b422efdb1fc6c1fb6bfcbc423a4f700a3.tar.xz
biboumi-90dd8e8b422efdb1fc6c1fb6bfcbc423a4f700a3.zip
Fix #3304
-rw-r--r--src/bridge/bridge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp
index eb1d553..925b226 100644
--- a/src/bridge/bridge.cpp
+++ b/src/bridge/bridge.cpp
@@ -468,9 +468,9 @@ void Bridge::leave_irc_channel(Iid&& iid, const std::string& status_message, con
"Biboumi note: " + std::to_string(resources - 1) + " resources are still in this channel.",
true, true, resource);
this->remove_resource_from_chan(key, resource);
+ }
if (this->number_of_channels_the_resource_is_in(iid.get_server(), resource) == 0)
this->remove_resource_from_server(iid.get_server(), resource);
- }
}