]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/channels.h
Merge pull request #531 from SaberUK/master+snprintf-removal
[user/henk/code/inspircd.git] / include / channels.h
index 2b2681eace1fc43e0b39f6e570704fdb3d08ef83..56e1a5a49e9660c677fc2dc18aed5307dbe5aa85 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.