From 457d5da6925bf996ae3504e89b7f182b855cf017 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sat, 20 Jul 2013 18:45:35 +0200 Subject: Fix generated snomask mode change string being incosistent with the input in certain cases, spotted by @Robby- --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 2305ba8ce..18a356ef8 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -88,12 +88,12 @@ std::string User::ProcessNoticeMasks(const char *sm) this->SetNoticeMask(*c, adding); output += *c; + oldadding = adding; } } else this->WriteNumeric(ERR_UNKNOWNSNOMASK, "%s %c :is unknown snomask char to me", this->nick.c_str(), *c); - oldadding = adding; break; } -- cgit v1.2.3