summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-21 19:35:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-21 19:35:07 +0000
commitf43281da9ecc93570d01ad62fddf2736012e4125 (patch)
treef5cb203c1e6226fa865442366b08da01344f4e97 /include
parent31bef4901b063dbf32bf6ba9c6e7419e5c3459b8 (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 'include')
-rw-r--r--include/inspircd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 29493d322..98b8e0c1d 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -977,7 +977,7 @@ class CoreExport InspIRCd : public classbase
* @param user The user to execute the command as
* @return True if the command handler was called successfully
*/
- bool CallCommandHandler(const std::string &commandname, const char** parameters, int pcnt, userrec* user);
+ CmdResult CallCommandHandler(const std::string &commandname, const char** parameters, int pcnt, userrec* user);
/** Return true if the command is a module-implemented command and the given parameters are valid for it
* @param parameters The mode parameters