Annnd, get the fix right.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5079 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2006-08-29 21:45:27 +00:00
parent c6e47f748c
commit 88315e8f8f

View File

@ -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);