summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index c18b84609..ce5c3016d 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -404,12 +404,12 @@ bool Server::IsUlined(std::string server)
void Server::CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user)
{
- call_handler(commandname,parameters,pcnt,user);
+ Parser->CallHandler(commandname,parameters,pcnt,user);
}
bool Server::IsValidModuleCommand(std::string commandname, int pcnt, userrec* user)
{
- return is_valid_cmd(commandname, pcnt, user);
+ return Parser->IsValidCommand(commandname, pcnt, user);
}
void Server::Log(int level, std::string s)