diff options
author | louiz’ <louiz@louiz.org> | 2017-07-08 18:10:47 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-07-08 18:10:47 +0200 |
commit | 9fa1852c7ea094086f45e840fa22cc83d56b744e (patch) | |
tree | 9d6d628f6403f3cb375206d406ff869c015c3eaf /src/bridge/bridge.hpp | |
parent | 3a95076db40dbdff4b130c5d9b8db81e537a750d (diff) | |
download | biboumi-9fa1852c7ea094086f45e840fa22cc83d56b744e.tar.gz biboumi-9fa1852c7ea094086f45e840fa22cc83d56b744e.tar.bz2 biboumi-9fa1852c7ea094086f45e840fa22cc83d56b744e.tar.xz biboumi-9fa1852c7ea094086f45e840fa22cc83d56b744e.zip |
Send status code='332' on biboumi or IRC server’s shutdown
Diffstat (limited to 'src/bridge/bridge.hpp')
-rw-r--r-- | src/bridge/bridge.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp index 033291c..496b439 100644 --- a/src/bridge/bridge.hpp +++ b/src/bridge/bridge.hpp @@ -169,7 +169,10 @@ public: /** * Send an unavailable presence from this participant */ - void send_muc_leave(const Iid& iid, const std::string& nick, const std::string& message, const bool self, const std::string& resource = ""); + void send_muc_leave(const Iid& iid, const std::string& nick, + const std::string& message, const bool self, + const bool user_requested, + const std::string& resource=""); /** * 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 |