From ef76fec4d9e527e4475721f7266278d533c5a0f8 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Dec 2005 10:27:03 +0000 Subject: Fixed command parser git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2512 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 4 ++-- 1 file 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) -- cgit v1.2.3