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* --- src/modules/m_nicklock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_nicklock.cpp') diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp index d48687113..9da40ce78 100644 --- a/src/modules/m_nicklock.cpp +++ b/src/modules/m_nicklock.cpp @@ -66,7 +66,7 @@ class CommandNicklock : public Command locked.set(target, 1); std::string oldnick = target->nick; - if (target->ForceNickChange(parameters[1].c_str())) + if (target->ForceNickChange(parameters[1])) ServerInstance->SNO->WriteGlobalSno('a', user->nick+" used NICKLOCK to change and hold "+oldnick+" to "+parameters[1]); else { -- cgit v1.3.1-10-gc9f91