X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules.cpp;h=b36b28a132f75153fde1470fd838eb6407ee3e69;hb=72948525ec3ef03fe46553349c1892cafa5ac18c;hp=75ec204b536d49dd5702ffd946b5b9e9ae3219d5;hpb=c31a4b8b444c460002ea69d2e75f60330897af38;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules.cpp b/src/modules.cpp index 75ec204b5..b36b28a13 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -376,9 +376,9 @@ bool InspIRCd::MatchText(const std::string &sliteral, const std::string &spatter return match(sliteral.c_str(),spattern.c_str()); } -bool InspIRCd::CallCommandHandler(const std::string &commandname, const char** parameters, int pcnt, userrec* user) +CmdResult InspIRCd::CallCommandHandler(const std::string &commandname, const char** parameters, int pcnt, userrec* user) { - return (this->Parser->CallHandler(commandname,parameters,pcnt,user) != CMD_INVALID); + return this->Parser->CallHandler(commandname,parameters,pcnt,user); } bool InspIRCd::IsValidModuleCommand(const std::string &commandname, int pcnt, userrec* user)