summaryrefslogtreecommitdiff
path: root/src/bridge
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-08-26 15:42:38 +0200
committerlouiz’ <louiz@louiz.org>2018-08-26 15:42:38 +0200
commit478619b10a27f7a25ba0b1082f4b12981b29d546 (patch)
tree29cc6186176b2eae7a54b6a8058436851874691d /src/bridge
parent248e25c22fc15105d2a9db695ddb93ed5a8e0802 (diff)
downloadbiboumi-478619b10a27f7a25ba0b1082f4b12981b29d546.tar.gz
biboumi-478619b10a27f7a25ba0b1082f4b12981b29d546.tar.bz2
biboumi-478619b10a27f7a25ba0b1082f4b12981b29d546.tar.xz
biboumi-478619b10a27f7a25ba0b1082f4b12981b29d546.zip
Trivial little syntax changes
Diffstat (limited to 'src/bridge')
-rw-r--r--src/bridge/bridge.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp
index d7f5f16..5ba8a2d 100644
--- a/src/bridge/bridge.cpp
+++ b/src/bridge/bridge.cpp
@@ -456,8 +456,8 @@ void Bridge::leave_irc_channel(Iid&& iid, const std::string& status_message, con
true, true, resource, irc);
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);
+ if (this->number_of_channels_the_resource_is_in(iid.get_server(), resource) == 0)
+ this->remove_resource_from_server(iid.get_server(), resource);
}
void Bridge::send_irc_nick_change(const Iid& iid, const std::string& new_nick, const std::string& requesting_resource)