diff options
| author | 2024-04-22 16:11:00 +0100 | |
|---|---|---|
| committer | 2024-04-22 16:11:00 +0100 | |
| commit | f6fcefa212ec5eabe6f475d87af1a8a3f5206a02 (patch) | |
| tree | aed52cbd57f60e4f92788651e0a8f2ed41887f07 /src | |
| parent | Fix an inverted condition in the denychans module. (diff) | |
Fix some messages that contain potentially remapped modes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/m_services.cpp | 4 |
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; } |
