diff options
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 cde35c862..b919ae759 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)) + if ((oldadding != adding) || (sm == (c+1))) output += (adding ? '+' : '-'); this->SetNoticeMask(*c, adding); |