diff options
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index c2adb1575..cc334d4f7 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -378,7 +378,7 @@ bool InspIRCd::MatchText(const std::string &sliteral, const std::string &spatter bool InspIRCd::CallCommandHandler(const std::string &commandname, const char** parameters, int pcnt, userrec* user) { - return this->Parser->CallHandler(commandname,parameters,pcnt,user); + return (this->Parser->CallHandler(commandname,parameters,pcnt,user) != CMD_INVALID); } bool InspIRCd::IsValidModuleCommand(const std::string &commandname, int pcnt, userrec* user) |