summaryrefslogtreecommitdiff
path: root/src/bridge/bridge.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-03-22 20:44:30 +0100
committerlouiz’ <louiz@louiz.org>2018-03-22 20:44:30 +0100
commitfaa33c1a712f98de4bafee821bde7eb270bbb7f7 (patch)
tree42ca35320f51e282094388f0df69e0e1fcbdf4f1 /src/bridge/bridge.hpp
parent9ce0166777fae8482da4bc22b0fe3fe43febd169 (diff)
downloadbiboumi-faa33c1a712f98de4bafee821bde7eb270bbb7f7.tar.gz
biboumi-faa33c1a712f98de4bafee821bde7eb270bbb7f7.tar.bz2
biboumi-faa33c1a712f98de4bafee821bde7eb270bbb7f7.tar.xz
biboumi-faa33c1a712f98de4bafee821bde7eb270bbb7f7.zip
Pass an IrcClient* to send_muc_leave instead of doing an other search
Diffstat (limited to 'src/bridge/bridge.hpp')
-rw-r--r--src/bridge/bridge.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp
index a4ee693..a190739 100644
--- a/src/bridge/bridge.hpp
+++ b/src/bridge/bridge.hpp
@@ -173,7 +173,8 @@ public:
void send_muc_leave(const Iid& iid, const IrcUser& nick,
const std::string& message, const bool self,
const bool user_requested,
- const std::string& resource="");
+ const std::string& resource,
+ const IrcClient* client);
/**
* Send presences to indicate that an user old_nick (ourself if self ==
* true) changed his nick to new_nick. The user_mode is needed because