aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_services.cpp')
-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;
}