diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-18 18:03:21 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-18 18:03:21 +0000 |
commit | b2f7888b7ac0e72041ceea7dd9e7e6d4c46dcb5c (patch) | |
tree | 55e44acfb730dfa98eec9bba25ced101ec329659 /src/modes | |
parent | d0e13160c5d561622dfc222585ad5e73b9b0fcf6 (diff) |
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')
-rw-r--r-- | src/modes/umode_i.cpp | 1 | ||||
-rw-r--r-- | src/modes/umode_s.cpp | 1 | ||||
-rw-r--r-- | src/modes/umode_w.cpp | 1 |
3 files changed, 0 insertions, 3 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; } 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; } diff --git a/src/modes/umode_w.cpp b/src/modes/umode_w.cpp index 383c91f6e..50000f75f 100644 --- a/src/modes/umode_w.cpp +++ b/src/modes/umode_w.cpp @@ -31,7 +31,6 @@ ModeAction ModeUserWallops::OnModeChange(userrec* source, userrec* dest, chanrec if (dest->modes[UM_WALLOPS] != adding) { dest->modes[UM_WALLOPS] = adding; - this->count += (adding ? 1: -1); return MODEACTION_ALLOW; } |