]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/channels.h
Purge a ton of code related to non <log> related logging.
[user/henk/code/inspircd.git] / include / channels.h
index 2b2681eace1fc43e0b39f6e570704fdb3d08ef83..b71da1570fbe5b41fdfca96031a4386fd8dbf973 100644 (file)
@@ -176,7 +176,7 @@ class CoreExport Channel : public Extensible, public InviteBase
         * @param user The user being kicked (must be on this channel)
         * @param reason The reason for the kick
         */
-       void KickUser(User *src, User *user, const char* reason);
+       void KickUser(User *src, User *user, const std::string& reason);
 
        /** Part a user from this channel with the given reason.
         * If the reason field is NULL, no reason will be sent.
@@ -279,7 +279,7 @@ class CoreExport Channel : public Extensible, public InviteBase
         * otherwise it is replaced with '&lt;KEY&gt;'
         * @return The channel mode string
         */
-       char* ChanModes(bool showkey);
+       const char* ChanModes(bool showkey);
 
        /** Spool the NAMES list for this channel to the given user
         * @param user The user to spool the NAMES list to