If we sent a message to a user, their notices are considered private messages

fix #2882
This commit is contained in:
Florent Le Coz
2015-01-12 22:50:06 +01:00
parent 0ee47f628d
commit b79dbefbe7
3 changed files with 33 additions and 3 deletions
+4
View File
@@ -289,6 +289,10 @@ private:
* connection succeeds on that port.
*/
std::stack<std::pair<std::string, bool>> ports_to_try;
/**
* A set of (lowercase) nicknames to which we sent a private message.
*/
std::set<std::string> nicks_to_treat_as_private;
IrcClient(const IrcClient&) = delete;
IrcClient(IrcClient&&) = delete;