summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/users.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h
index c94019335..52f3e4a88 100644
--- a/include/users.h
+++ b/include/users.h
@@ -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