summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-07-20 18:45:35 +0200
committerattilamolnar <attilamolnar@hush.com>2013-07-20 18:45:35 +0200
commit457d5da6925bf996ae3504e89b7f182b855cf017 (patch)
tree98615760402c146d8c741fbc916b4de6cac2c11d /src
parent561f4f642e5bc391300dd33989c3624986808ed8 (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.cpp2
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;
}