aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-04-22 16:11:00 +0100
committerGravatar Sadie Powell2024-04-22 16:11:00 +0100
commitf6fcefa212ec5eabe6f475d87af1a8a3f5206a02 (patch)
treeaed52cbd57f60e4f92788651e0a8f2ed41887f07 /src/modules
parentFix an inverted condition in the denychans module. (diff)
Fix some messages that contain potentially remapped modes.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_services.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp
index f5f031607..136e4391d 100644
--- a/src/modules/m_services.cpp
+++ b/src/modules/m_services.cpp
@@ -53,7 +53,7 @@ public:
{
if (IS_LOCAL(source))
{
- source->WriteNumeric(ERR_NOPRIVILEGES, "Only a server may modify the +r channel mode");
+ source->WriteNumeric(ERR_NOPRIVILEGES, INSP_FORMAT("Only a server may modify the +{} channel mode", GetModeChar()));
return false;
}
@@ -77,7 +77,7 @@ public:
{
if (IS_LOCAL(source))
{
- source->WriteNumeric(ERR_NOPRIVILEGES, "Only a server may modify the +r user mode");
+ source->WriteNumeric(ERR_NOPRIVILEGES, INSP_FORMAT("Only a server may modify the +{} user mode", GetModeChar()));
return false;
}