summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-10-19 02:09:30 +0200
committerattilamolnar <attilamolnar@hush.com>2012-11-19 18:32:39 +0100
commit5c20fd57ec1913dc787b7c620bb4032851dd0d64 (patch)
treefb675039a80f3f30e2657612c7a0807b7cb31932 /src/users.cpp
parent81d7a5b538737cd568c30e158b408721ef1824c2 (diff)
Remove usage of deprecated CallCommandHandler() and IsValidModuleCommand()
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index aebc66bfc..0c6204adb 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -814,13 +814,13 @@ void LocalUser::FullConnect()
std::vector<std::string> parameters;
FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (command, parameters, this, true, command));
if (!MOD_RESULT)
- ServerInstance->CallCommandHandler(command, parameters, this);
+ ServerInstance->Parser->CallHandler(command, parameters, this);
MOD_RESULT = MOD_RES_PASSTHRU;
command = "LUSERS";
FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (command, parameters, this, true, command));
if (!MOD_RESULT)
- ServerInstance->CallCommandHandler(command, parameters, this);
+ ServerInstance->Parser->CallHandler(command, parameters, this);
if (ServerInstance->Config->RawLog)
WriteServ("PRIVMSG %s :*** Raw I/O logging is enabled on this server. All messages, passwords, and commands are being recorded.", nick.c_str());