diff options
-rw-r--r-- | src/coremods/core_stub.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_remove.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/coremods/core_stub.cpp b/src/coremods/core_stub.cpp index 28adb9e6a..20f6888b5 100644 --- a/src/coremods/core_stub.cpp +++ b/src/coremods/core_stub.cpp @@ -46,7 +46,7 @@ class CommandConnect : public Command /* * This is handled by the server linking module, if necessary. Do not remove this stub. */ - user->WriteServ( "NOTICE %s :Look into loading a linking module (like m_spanningtree) if you want this to do anything useful.", user->nick.c_str()); + user->WriteNotice("Look into loading a linking module (like m_spanningtree) if you want this to do anything useful."); return CMD_SUCCESS; } }; @@ -129,7 +129,7 @@ class CommandSquit : public Command */ CmdResult Handle(const std::vector<std::string>& parameters, User* user) { - user->WriteServ("NOTICE %s :Look into loading a linking module (like m_spanningtree) if you want this to do anything useful.", user->nick.c_str()); + user->WriteNotice("Look into loading a linking module (like m_spanningtree) if you want this to do anything useful."); return CMD_FAILURE; } }; 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; } } |