From b2f7888b7ac0e72041ceea7dd9e7e6d4c46dcb5c Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 18 Jul 2007 18:03:21 +0000 Subject: Ive tidied up the mode count stuff, but i still cant duplicate negative invisible counts. :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7474 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modes/umode_s.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/modes/umode_s.cpp') diff --git a/src/modes/umode_s.cpp b/src/modes/umode_s.cpp index 4b3179001..faf6348de 100644 --- a/src/modes/umode_s.cpp +++ b/src/modes/umode_s.cpp @@ -31,7 +31,6 @@ ModeAction ModeUserServerNotice::OnModeChange(userrec* source, userrec* dest, ch if (dest->modes[UM_SERVERNOTICE] != adding) { dest->modes[UM_SERVERNOTICE] = adding; - this->count += (adding ? 1: -1); return MODEACTION_ALLOW; } -- cgit v1.2.3