inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 49fef4ef75d9adb750661c79d317525b4717bb76
parent e6e8364e8e2624ba7213a7bbc72b51a87e8bebec
Author: Robby <robby@chatbelgie.be>
Date:   Sun, 21 Apr 2019 23:10:18 +0200

Fix grammar in unknown mode/snomask character messages.

Diffstat:
Msrc/coremods/core_user/umode_s.cpp | 2+-
Msrc/mode.cpp | 2+-
Msrc/modules/m_disable.cpp | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 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 @@ -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 @@ -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; }