summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-12-29 12:45:02 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-12-29 12:45:02 +0100
commit7bc9c25b8b9a04cb85fa0c00f304fe489ad9148d (patch)
treee457801084383e48c45f9a3592f6f72c7a46184c /src/modules
parentb8c3f13887711c5d260b66e1bdedfebd7b8d1626 (diff)
Convert remaining NOTICEs implemented using WriteServ() to WriteNotice()
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_remove.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp
index 30924eb2f..8d0009d71 100644
--- a/src/modules/m_remove.cpp
+++ b/src/modules/m_remove.cpp
@@ -82,7 +82,7 @@ class RemoveBase : public Command
if (!channel->HasUser(target))
{
- user->WriteServ( "NOTICE %s :*** The user %s is not on channel %s", user->nick.c_str(), target->nick.c_str(), channel->name.c_str());
+ user->WriteNotice(InspIRCd::Format("*** The user %s is not on channel %s", target->nick.c_str(), channel->name.c_str()));
return CMD_FAILURE;
}
@@ -137,7 +137,7 @@ class RemoveBase : public Command
}
else
{
- user->WriteServ( "NOTICE %s :*** You do not have access to /remove %s from %s", user->nick.c_str(), target->nick.c_str(), channel->name.c_str());
+ user->WriteNotice(InspIRCd::Format("*** You do not have access to /remove %s from %s", target->nick.c_str(), channel->name.c_str()));
return CMD_FAILURE;
}
}