diff options
| author | 2007-05-21 19:35:07 +0000 | |
|---|---|---|
| committer | 2007-05-21 19:35:07 +0000 | |
| commit | f43281da9ecc93570d01ad62fddf2736012e4125 (patch) | |
| tree | f5cb203c1e6226fa865442366b08da01344f4e97 /src/modules.cpp | |
| parent | In this module we declare the md5 context as a class, then reference it in fu... (diff) | |
I think this was the source of burlex's confusion with the spanningtree propogation bug and a warning in vc8 -- CallCommandHandler returned BOOL?! Yet its casting that bool somehow from a CmdResult.
It should be CmdResult. Fixed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7101 e03df62e-2008-0410-955e-edbf42e46eb7
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 75ec204b5..0ce577214 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -376,7 +376,7 @@ 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); } |
