aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-08-04 19:13:52 +0200
committerGravatar attilamolnar2013-08-04 19:13:52 +0200
commit30935599479bd102db16842a8bc614d905a2ec60 (patch)
tree87ea9f49f2129d206448e9b4a8c59539340cbe3b /src/users.cpp
parentFakeUsers are only inserted into UserManager::uuidlist; don't try to erase() ... (diff)
downloadinspircd++-30935599479bd102db16842a8bc614d905a2ec60.tar.gz
inspircd++-30935599479bd102db16842a8bc614d905a2ec60.tar.bz2
inspircd++-30935599479bd102db16842a8bc614d905a2ec60.zip
Call ModeParser::Process() directly instead of going through the CommandParser
Simplify the way how m_conn_umodes assembles the modes it sets
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 649a325c9..371fa3bb6 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -486,7 +486,7 @@ void User::UnOper()
parameters.push_back(this->nick);
parameters.push_back(moderemove);
- ServerInstance->Parser->CallHandler("MODE", parameters, this);
+ ServerInstance->Modes->Process(parameters, this);
/* remove the user from the oper list. Will remove multiple entries as a safeguard against bug #404 */
ServerInstance->Users->all_opers.remove(this);