From 49fef4ef75d9adb750661c79d317525b4717bb76 Mon Sep 17 00:00:00 2001 From: Robby Date: Sun, 21 Apr 2019 23:10:18 +0200 Subject: Fix grammar in unknown mode/snomask character messages. --- src/coremods/core_user/umode_s.cpp | 2 +- src/mode.cpp | 2 +- src/modules/m_disable.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/coremods/core_user/umode_s.cpp b/src/coremods/core_user/umode_s.cpp index 0122ebe3e..7c83e008b 100644 --- a/src/coremods/core_user/umode_s.cpp +++ b/src/coremods/core_user/umode_s.cpp @@ -100,7 +100,7 @@ std::string ModeUserServerNoticeMask::ProcessNoticeMasks(User* user, const std:: { if (!ServerInstance->SNO->IsSnomaskUsable(*i)) { - user->WriteNumeric(ERR_UNKNOWNSNOMASK, *i, "is unknown snomask char to me"); + user->WriteNumeric(ERR_UNKNOWNSNOMASK, *i, "is an unknown snomask character"); continue; } } diff --git a/src/mode.cpp b/src/mode.cpp index 7a0afdd03..aa4d50b08 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -371,7 +371,7 @@ void ModeParser::ModeParamsToChangeList(User* user, ModeType type, const std::ve if (!mh) { /* No mode handler? Unknown mode character then. */ - user->WriteNumeric(type == MODETYPE_CHANNEL ? ERR_UNKNOWNMODE : ERR_UNKNOWNSNOMASK, modechar, "is unknown mode char to me"); + user->WriteNumeric(type == MODETYPE_CHANNEL ? ERR_UNKNOWNMODE : ERR_UNKNOWNSNOMASK, modechar, "is an unknown mode character"); continue; } diff --git a/src/modules/m_disable.cpp b/src/modules/m_disable.cpp index 203f9ee64..fb69f7bec 100644 --- a/src/modules/m_disable.cpp +++ b/src/modules/m_disable.cpp @@ -170,7 +170,7 @@ class ModuleDisable : public Module // The server administrator has specified that disabled modes should be // treated as if they do not exist. user->WriteNumeric(mh->GetModeType() == MODETYPE_CHANNEL ? ERR_UNKNOWNMODE : ERR_UNKNOWNSNOMASK, - mh->GetModeChar(), "is unknown mode char to me"); + mh->GetModeChar(), "is an unknown mode character"); return MOD_RES_DENY; } -- cgit v1.2.3