From f6fcefa212ec5eabe6f475d87af1a8a3f5206a02 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 22 Apr 2024 16:11:00 +0100 Subject: Fix some messages that contain potentially remapped modes. --- src/modules/m_services.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.3.1-10-gc9f91