]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/channels.cpp
Overloading SetMode seems to cause the compiler to interpret "" as a bool and not...
[user/henk/code/inspircd.git] / src / channels.cpp
index c8334d42ec735be95d8b408d4b95f07478f88f1c..a6ed3406d28bbe62f79167b3a86d484258b293b1 100644 (file)
@@ -36,7 +36,7 @@ void Channel::SetMode(char mode,bool mode_on)
        modes[mode-65] = mode_on;
 }
 
-void Channel::SetMode(char mode, std::string parameter)
+void Channel::SetModeParam(char mode, std::string parameter)
 {
        CustomModeList::iterator n = custom_mode_params.find(mode);
        // always erase, even if changing, so that the map gets the new value