diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-07-20 18:45:35 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-07-20 18:45:35 +0200 |
commit | 457d5da6925bf996ae3504e89b7f182b855cf017 (patch) | |
tree | 98615760402c146d8c741fbc916b4de6cac2c11d /src | |
parent | 561f4f642e5bc391300dd33989c3624986808ed8 (diff) |
Fix generated snomask mode change string being incosistent with the input in certain cases, spotted by @Robby-
Diffstat (limited to 'src')
-rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |