From 7bc9c25b8b9a04cb85fa0c00f304fe489ad9148d Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 29 Dec 2015 12:45:02 +0100 Subject: Convert remaining NOTICEs implemented using WriteServ() to WriteNotice() --- src/modules/m_remove.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') 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; } } -- cgit v1.2.3