From 812ccef476fc9c2a7768c315c65feac9be3220f5 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 21 May 2007 19:37:13 +0000 Subject: Remove warning in gcc this time git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7102 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3