summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby <robby@chatbelgie.be>2019-04-21 23:10:18 +0200
committerPeter Powell <petpow@saberuk.com>2019-04-21 22:15:44 +0100
commit49fef4ef75d9adb750661c79d317525b4717bb76 (patch)
tree04604d82a70c04ec82c1433e857fe175fc6a4cea
parente6e8364e8e2624ba7213a7bbc72b51a87e8bebec (diff)
Fix grammar in unknown mode/snomask character messages.
-rw-r--r--src/coremods/core_user/umode_s.cpp2
-rw-r--r--src/mode.cpp2
-rw-r--r--src/modules/m_disable.cpp2
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
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;
}