aboutsummaryrefslogtreecommitdiffstats
path: root/src/modes/umode_i.cpp
diff options
context:
space:
mode:
authorGravatar brain2007-07-18 18:03:21 +0000
committerGravatar brain2007-07-18 18:03:21 +0000
commitb2f7888b7ac0e72041ceea7dd9e7e6d4c46dcb5c (patch)
tree55e44acfb730dfa98eec9bba25ced101ec329659 /src/modes/umode_i.cpp
parentFixed m_messageflood to free the channel if it kicks the last user. This woul... (diff)
downloadinspircd++-b2f7888b7ac0e72041ceea7dd9e7e6d4c46dcb5c.tar.gz
inspircd++-b2f7888b7ac0e72041ceea7dd9e7e6d4c46dcb5c.tar.bz2
inspircd++-b2f7888b7ac0e72041ceea7dd9e7e6d4c46dcb5c.zip
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
Diffstat (limited to 'src/modes/umode_i.cpp')
-rw-r--r--src/modes/umode_i.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modes/umode_i.cpp b/src/modes/umode_i.cpp
index 5a9327375..a599f8f6f 100644
--- a/src/modes/umode_i.cpp
+++ b/src/modes/umode_i.cpp
@@ -31,7 +31,6 @@ ModeAction ModeUserInvisible::OnModeChange(userrec* source, userrec* dest, chanr
if (dest->modes[UM_INVISIBLE] != adding)
{
dest->modes[UM_INVISIBLE] = adding;
- this->count += (adding ? 1: -1);
return MODEACTION_ALLOW;
}