From 1c84a5e3c9206719e86f56873f3cbd9ec7e61744 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 12 Nov 2025 19:52:03 +0000 Subject: [PATCH] Fix a syntax error in a cs_mode help message. Closes #537. --- language/anope.en_US.po | 6 +++--- modules/chanserv/cs_mode.cpp | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/language/anope.en_US.po b/language/anope.en_US.po index 87d0947ef..97aea1b90 100644 --- a/language/anope.en_US.po +++ b/language/anope.en_US.po @@ -16,8 +16,8 @@ msgid "" msgstr "" "Project-Id-Version: Anope\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-11-11 21:08+0000\n" -"PO-Revision-Date: 2025-11-10 02:45+0000\n" +"POT-Creation-Date: 2025-11-12 19:50+0000\n" +"PO-Revision-Date: 2025-11-12 19:50+0000\n" "Last-Translator: Sadie Powell \n" "Language-Team: English\n" "Language: en_US\n" @@ -3492,7 +3492,7 @@ msgid "" "The %sLOCK command allows you to add, delete, and view mode locks on a channel. If a mode is locked on or off, services will not allow that mode to be changed. The SET command will clear all existing mode locks and set the new one given, while ADD and DEL modify the existing mode lock.\n" "\n" "Example:\n" -" %s#channel%sADD+bmnt*!*@*aol*\n" +" %s#channelLOCKADD+bmnt*!*@*.example.com\n" "\n" "\n" "The %sSET command allows you to set modes through services. Wildcards * and ? may be given as parameters for list and status modes.\n" diff --git a/modules/chanserv/cs_mode.cpp b/modules/chanserv/cs_mode.cpp index 0d8cd2468..3d6cf8dc3 100644 --- a/modules/chanserv/cs_mode.cpp +++ b/modules/chanserv/cs_mode.cpp @@ -797,7 +797,7 @@ public: "modify the existing mode lock." "\n\n" "Example:\n" - " \002%s\032#channel\032%s\032ADD\032+bmnt\032*!*@*aol*\002\n" + " \002%s\032#channel\032LOCK\032ADD\032+bmnt\032*!*@*.example.com\002\n" "\n\n" "The \002%s\032SET\002 command allows you to set modes through services. Wildcards * and ? may " "be given as parameters for list and status modes." @@ -818,7 +818,6 @@ public: source.command.nobreak().c_str(), source.command.nobreak().c_str(), source.command.nobreak().c_str(), - source.command.nobreak().c_str(), source.command.nobreak().c_str()); return true; }