]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Merge pull request #550 from Adam-/master+sepstream
[user/henk/code/inspircd.git] / include / users.h
index c9401933571d8191671244450f43e497458190f7..52f3e4a8897614967fd6f0708034697b9bd0064d 100644 (file)
@@ -511,7 +511,7 @@ class CoreExport User : public Extensible
         * @param newnick The nickname to change to
         * @return True if the nickchange was successful.
         */
-       inline bool ForceNickChange(const char* newnick) { return ChangeNick(newnick, true); }
+       bool ForceNickChange(const std::string& newnick) { return ChangeNick(newnick, true); }
 
        /** Oper down.
         * This will clear the +o usermode and unset the user's oper type