summaryrefslogtreecommitdiff
path: root/src/modules/m_sapart.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_sapart.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_sapart.cpp')
-rw-r--r--src/modules/m_sapart.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_sapart.cpp b/src/modules/m_sapart.cpp
index 530d54fe0..40a4c54e5 100644
--- a/src/modules/m_sapart.cpp
+++ b/src/modules/m_sapart.cpp
@@ -42,7 +42,7 @@ class CommandSapart : public Command
if (ServerInstance->ULine(dest->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;
}
@@ -69,7 +69,7 @@ class CommandSapart : public Command
}
else
{
- user->WriteServ("NOTICE %s :*** Unable to make %s part %s",user->nick, dest->nick, parameters[1].c_str());
+ user->WriteServ("NOTICE %s :*** Unable to make %s part %s",user->nick.c_str(), dest->nick.c_str(), parameters[1].c_str());
return CMD_FAILURE;
}
}
@@ -83,7 +83,7 @@ class CommandSapart : public Command
}
else
{
- user->WriteServ("NOTICE %s :*** Invalid nickname or channel", user->nick);
+ user->WriteServ("NOTICE %s :*** Invalid nickname or channel", user->nick.c_str());
}
return CMD_FAILURE;