This commit is contained in:
louiz’
2017-11-07 23:18:30 +01:00
parent cb6b50dc01
commit 90dd8e8b42
+1 -1
View File
@@ -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.", "Biboumi note: " + std::to_string(resources - 1) + " resources are still in this channel.",
true, true, resource); true, true, resource);
this->remove_resource_from_chan(key, resource); this->remove_resource_from_chan(key, resource);
}
if (this->number_of_channels_the_resource_is_in(iid.get_server(), resource) == 0) if (this->number_of_channels_the_resource_is_in(iid.get_server(), resource) == 0)
this->remove_resource_from_server(iid.get_server(), resource); this->remove_resource_from_server(iid.get_server(), resource);
}
} }