]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/channels.h
Overloading SetMode seems to cause the compiler to interpret "" as a bool and not...
[user/henk/code/inspircd.git] / include / channels.h
index 3bbcf067245eea1f0fb9b9bfec2193f2260bdd9d..1b6e9a8757ac6d1f80d30ea23d67bf38c80be975 100644 (file)
@@ -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
@@ -336,7 +336,7 @@ class CoreExport Channel : public Extensible
         * @return The number of users left on the channel. If this is zero
         * when the method returns, you MUST delete the Channel immediately!
         */
-       long ServerKickUser(User* user, const char* reason, bool triggerevents, const char* servername = NULL);
+       long ServerKickUser(User* user, const char* reason, const char* servername = NULL);
 
        /** Part a user from this channel with the given reason.
         * If the reason field is NULL, no reason will be sent.