summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 418ad4eac..73315227a 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -1272,13 +1272,13 @@ void cmd_mode::Handle (char **parameters, int pcnt, userrec *user)
DeleteOper(dest);
break;
case 'i':
- dest->modebits ^= UM_INVISIBLE;
+ dest->modebits &= ~UM_INVISIBLE;
break;
case 's':
- dest->modebits ^= UM_SERVERNOTICE;
+ dest->modebits &= ~UM_SERVERNOTICE;
break;
case 'w':
- dest->modebits ^= UM_WALLOPS;
+ dest->modebits &= ~UM_WALLOPS;
break;
}
}