diff options
author | louiz’ <louiz@louiz.org> | 2016-12-11 17:05:52 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-12-11 17:05:52 +0100 |
commit | eca31ce8db104f17ac74fd74aa9d7ef7e8f1470a (patch) | |
tree | 97399877e23af6f09aad646bfe4ba46027bf16d0 /src/bridge/bridge.hpp | |
parent | f653906f9de8cbcecf5717e18c696d1029fc2c8f (diff) | |
download | biboumi-eca31ce8db104f17ac74fd74aa9d7ef7e8f1470a.tar.gz biboumi-eca31ce8db104f17ac74fd74aa9d7ef7e8f1470a.tar.bz2 biboumi-eca31ce8db104f17ac74fd74aa9d7ef7e8f1470a.tar.xz biboumi-eca31ce8db104f17ac74fd74aa9d7ef7e8f1470a.zip |
Do not change the nick when joining a second room with a different nick
As the doc says, the nick changes must be explicit in an already joined
room, and not when joining a room.
Diffstat (limited to 'src/bridge/bridge.hpp')
-rw-r--r-- | src/bridge/bridge.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp index 8f2dcef..e92747d 100644 --- a/src/bridge/bridge.hpp +++ b/src/bridge/bridge.hpp @@ -80,7 +80,7 @@ public: void send_private_message(const Iid& iid, const std::string& body, const std::string& type="PRIVMSG"); void send_raw_message(const std::string& hostname, const std::string& body); void leave_irc_channel(Iid&& iid, const std::string& status_message, const std::string& resource); - void send_irc_nick_change(const Iid& iid, const std::string& new_nick); + void send_irc_nick_change(const Iid& iid, const std::string& new_nick, const std::string& requesting_resource); void send_irc_kick(const Iid& iid, const std::string& target, const std::string& reason, const std::string& iq_id, const std::string& to_jid); void set_channel_topic(const Iid& iid, const std::string& subject); |