summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-05-16 16:01:51 +0200
committerattilamolnar <attilamolnar@hush.com>2013-05-18 21:24:22 +0200
commit3ce33ee0e6bc0b8fbe2a564a37e02d2e56510b06 (patch)
tree9274c8a44c0d57917bfe79366308fbd6d2e4b90e /include
parentf3d134a5b642b83e865c03b45c313df7f829ba15 (diff)
Change the signature of User::ForceNickChange() to accept const std::string& instead of const char*
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