diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-04-29 02:43:16 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-04-29 02:43:16 +0000 |
commit | d2a71fd3447c8bac65cc26077e2b9fc3fb0b28a7 (patch) | |
tree | 648fcf8fa6ca20ab599d618fd33433a761639d98 /include | |
parent | 1064b6732975ad32ac32147974a3af2d888a7e12 (diff) |
Overloading SetMode seems to cause the compiler to interpret "" as a bool and not a string. Fixes bug #849
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11335 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/channels.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h index dfee69dc0..1b6e9a875 100644 --- a/include/channels.h +++ b/include/channels.h @@ -207,7 +207,7 @@ class CoreExport Channel : public Extensible * @param parameter The parameter string to associate with this mode character. * If it is empty, the mode is unset; if it is nonempty, the mode is set. */ - void SetMode(char mode, std::string parameter); + void SetModeParam(char mode, std::string parameter); /** Returns true if a mode is set on a channel * @param mode The mode character you wish to query |