diff options
-rw-r--r-- | include/mode.h | 2 | ||||
-rw-r--r-- | src/mode.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/mode.h b/include/mode.h index 54b4aa97e..08ac33597 100644 --- a/include/mode.h +++ b/include/mode.h @@ -32,7 +32,7 @@ enum UserModeBits { UM_INVISIBLE = 1, UM_SERVERNOTICE = 2, - UM_WALLOPS = 3 + UM_WALLOPS = 4 }; class ModeParser diff --git a/src/mode.cpp b/src/mode.cpp index 73315227a..dbbb42289 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -1253,6 +1253,8 @@ void cmd_mode::Handle (char **parameters, int pcnt, userrec *user) case 'w': dest->modebits |= UM_WALLOPS; break; + default: + break; } } } @@ -1280,6 +1282,8 @@ void cmd_mode::Handle (char **parameters, int pcnt, userrec *user) case 'w': dest->modebits &= ~UM_WALLOPS; break; + default: + break; } } } |