diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-16 10:27:03 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-16 10:27:03 +0000 |
commit | ef76fec4d9e527e4475721f7266278d533c5a0f8 (patch) | |
tree | 36d73ba04ac8bbab2d454233101ae5ecb5b886dc /src | |
parent | 3a6b7cf36e9de41577b129c59de96cce45f87ac6 (diff) |
Fixed command parser
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2512 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules.cpp | 4 |
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) |