Pass an IrcClient* to send_muc_leave instead of doing an other search

This commit is contained in:
louiz’
2018-03-22 20:44:30 +01:00
parent 9ce0166777
commit faa33c1a71
3 changed files with 9 additions and 13 deletions
+2 -1
View File
@@ -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