summaryrefslogtreecommitdiff
path: root/src/modules/m_sanick.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-19 00:19:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-19 00:19:34 +0000
commit8cb8131110c194b4c10a64215dd6a4c5e54d2bc9 (patch)
tree3e85748a6b8f570cd07b408b59e2e036a664860d /src/modules/m_sanick.cpp
parent77bb8528a69735ba59e0cd1ac2801063343a6187 (diff)
Commit these
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9757 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_sanick.cpp')
-rw-r--r--src/modules/m_sanick.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_sanick.cpp b/src/modules/m_sanick.cpp
index d9547f92d..cd93377c8 100644
--- a/src/modules/m_sanick.cpp
+++ b/src/modules/m_sanick.cpp
@@ -34,7 +34,7 @@ class CommandSanick : public Command
{
if (ServerInstance->ULine(target->server))
{
- user->WriteNumeric(990, "%s :Cannot use an SA command on a u-lined client",user->nick);
+ user->WriteNumeric(990, "%s :Cannot use an SA command on a u-lined client",user->nick.c_str());
return CMD_FAILURE;
}
std::string oldnick = user->nick;
@@ -54,14 +54,14 @@ class CommandSanick : public Command
}
else
{
- user->WriteServ("NOTICE %s :*** Invalid nickname '%s'", user->nick, parameters[1].c_str());
+ user->WriteServ("NOTICE %s :*** Invalid nickname '%s'", user->nick.c_str(), parameters[1].c_str());
}
return CMD_FAILURE;
}
else
{
- user->WriteServ("NOTICE %s :*** No such nickname: '%s'", user->nick, parameters[0].c_str());
+ user->WriteServ("NOTICE %s :*** No such nickname: '%s'", user->nick.c_str(), parameters[0].c_str());
}
return CMD_FAILURE;