From 3ce33ee0e6bc0b8fbe2a564a37e02d2e56510b06 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Thu, 16 May 2013 16:01:51 +0200 Subject: Change the signature of User::ForceNickChange() to accept const std::string& instead of const char* --- include/users.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.3.1-10-gc9f91