]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modes/umode_w.cpp
Debug to try figure this out ..
[user/henk/code/inspircd.git] / src / modes / umode_w.cpp
index eba24778ace7421b784fd2574410c64fa3b0fabf..3f1cd90c8b402292592f08659c6c9ad40a13ed3f 100644 (file)
@@ -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;
        }
 
@@ -39,8 +38,7 @@ ModeAction ModeUserWallops::OnModeChange(userrec* source, userrec* dest, chanrec
        return MODEACTION_DENY;
 }
 
-unsigned int GetCount()
+unsigned int ModeUserWallops::GetCount()
 {
        return count;
 }
-