summaryrefslogtreecommitdiff
path: root/src/modes/umode_i.cpp
diff options
context:
space:
mode:
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;
}