summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
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)