summaryrefslogtreecommitdiff
path: root/src/modules/m_conn_umodes.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-09-04 12:34:26 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-09-04 12:34:26 +0200
commit6fe96bda2531cb1357f35c6d0717910283e2d921 (patch)
tree52db844003fff5bdd7d133d652a040438f0ff71c /src/modules/m_conn_umodes.cpp
parent2e065eac65004b6f0bcdaf2f9d5eb3396a745f59 (diff)
Call the MODE command handler in several modules instead of the old ModeParser::Process()
Diffstat (limited to 'src/modules/m_conn_umodes.cpp')
-rw-r--r--src/modules/m_conn_umodes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_conn_umodes.cpp b/src/modules/m_conn_umodes.cpp
index 1e3ea1a49..7a8d66ae7 100644
--- a/src/modules/m_conn_umodes.cpp
+++ b/src/modules/m_conn_umodes.cpp
@@ -58,7 +58,7 @@ class ModuleModesOnConnect : public Module
while (ss >> buf)
modes.push_back(buf);
- ServerInstance->Modes->Process(modes, user);
+ ServerInstance->Parser.CallHandler("MODE", modes, user);
}
memcpy(ServerInstance->Config->DisabledUModes, save, 64);