From 89a8dff5f6853794364bc06ec04d05c6d988e4e2 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 19 May 2008 00:22:58 +0000 Subject: These done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9758 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_setname.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_setname.cpp') diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp index 75156378d..eab376cab 100644 --- a/src/modules/m_setname.cpp +++ b/src/modules/m_setname.cpp @@ -31,19 +31,19 @@ class CommandSetname : public Command { if (parameters.size() == 0) { - user->WriteServ("NOTICE %s :*** SETNAME: GECOS must be specified", user->nick); + user->WriteServ("NOTICE %s :*** SETNAME: GECOS must be specified", user->nick.c_str()); return CMD_FAILURE; } if (parameters[0].size() > MAXGECOS) { - user->WriteServ("NOTICE %s :*** SETNAME: GECOS too long", user->nick); + user->WriteServ("NOTICE %s :*** SETNAME: GECOS too long", user->nick.c_str()); return CMD_FAILURE; } if (user->ChangeName(parameters[0].c_str())) { - ServerInstance->SNO->WriteToSnoMask('A', "%s used SETNAME to change their GECOS to %s", user->nick, parameters[0].c_str()); + ServerInstance->SNO->WriteToSnoMask('A', "%s used SETNAME to change their GECOS to %s", user->nick.c_str(), parameters[0].c_str()); return CMD_SUCCESS; } -- cgit v1.2.3