diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-29 21:45:27 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-29 21:45:27 +0000 |
commit | 88315e8f8f0128325e17fce1fa942cc02c6e0e38 (patch) | |
tree | 0ace9d4e5a4e6036233bacdafb3509fa638bd360 /src | |
parent | c6e47f748cdd38090d9dd2c6e03c03ecdbb6b8b4 (diff) |
Annnd, get the fix right.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5079 e03df62e-2008-0410-955e-edbf42e46eb7
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 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); |