summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-29 21:41:30 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-29 21:41:30 +0000
commitc6e47f748cdd38090d9dd2c6e03c03ecdbb6b8b4 (patch)
tree1cd3a0497dd8c4d6acf0aa45ea8a277e69da8f87
parentf24aca48ff6405f9231230bd7a91ee05d474f603 (diff)
Fix for correct display when removing snomask
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5078 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/users.cpp2
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);