summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index b919ae759..36874d0d7 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -117,7 +117,7 @@ std::string userrec::ProcessNoticeMasks(const char *sm)
{
if ((!IsNoticeMaskSet(*c) && adding) || (IsNoticeMaskSet(*c) && !adding))
{
- if ((oldadding != adding) || (sm == (c+1)))
+ if ((oldadding != adding) || (!output.length()))
output += (adding ? '+' : '-');
this->SetNoticeMask(*c, adding);