X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules.cpp;h=b36b28a132f75153fde1470fd838eb6407ee3e69;hb=cd7657bddc7a6dc2e7326077d173a874bf71f6bd;hp=0ce577214c09caceb2d7b6c7512d434a0294e2c8;hpb=f43281da9ecc93570d01ad62fddf2736012e4125;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules.cpp b/src/modules.cpp index 0ce577214..b36b28a13 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -378,7 +378,7 @@ bool InspIRCd::MatchText(const std::string &sliteral, const std::string &spatter 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)