From 368022378b7618bad9e785ab5e5d3d57e6c5369f Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 9 Mar 2006 14:13:16 +0000 Subject: Modes the wrong way around git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3590 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/mode.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mode.cpp') 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; } } -- cgit v1.2.3