summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_entrymsg.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-04-22 18:14:46 +0100
committerSadie Powell <sadie@witchery.services>2025-04-22 18:56:26 +0100
commitf3743cd37dd1efb2d31f2d8aa3d489df68909c84 (patch)
tree64066a4b7f4aea205a3f8bf4811e0235646f4870 /modules/chanserv/cs_entrymsg.cpp
parent0c155e0c056235720e258edc4be8c48244e73033 (diff)
Remove hardcoded command names from most messages.
Diffstat (limited to 'modules/chanserv/cs_entrymsg.cpp')
-rw-r--r--modules/chanserv/cs_entrymsg.cpp46
1 files changed, 25 insertions, 21 deletions
diff --git a/modules/chanserv/cs_entrymsg.cpp b/modules/chanserv/cs_entrymsg.cpp
index fa3c59c84..ac83e45f1 100644
--- a/modules/chanserv/cs_entrymsg.cpp
+++ b/modules/chanserv/cs_entrymsg.cpp
@@ -246,27 +246,31 @@ public:
this->SendSyntax(source);
source.Reply(" ");
source.Reply(_(
- "Controls what messages will be sent to users when they join the channel."
- "\n\n"
- "The \002ENTRYMSG\032ADD\002 command adds the given message to "
- "the list of messages shown to users when they join "
- "the channel."
- "\n\n"
- "The \002ENTRYMSG\032DEL\002 command removes the specified message from "
- "the list of messages shown to users when they join "
- "the channel. You can remove a message by specifying its number "
- "which you can get by listing the messages as explained below."
- "\n\n"
- "The \002ENTRYMSG\032LIST\002 command displays a listing of messages "
- "shown to users when they join the channel."
- "\n\n"
- "The \002ENTRYMSG\032CLEAR\002 command clears all entries from "
- "the list of messages shown to users when they join "
- "the channel, effectively disabling entry messages."
- "\n\n"
- "Adding, deleting, or clearing entry messages requires the "
- "SET permission."
- ));
+ "Controls what messages will be sent to users when they join the channel."
+ "\n\n"
+ "The \002%s\032ADD\002 command adds the given message to "
+ "the list of messages shown to users when they join "
+ "the channel."
+ "\n\n"
+ "The \002%s\032DEL\002 command removes the specified message from "
+ "the list of messages shown to users when they join "
+ "the channel. You can remove a message by specifying its number "
+ "which you can get by listing the messages as explained below."
+ "\n\n"
+ "The \002%s\032LIST\002 command displays a listing of messages "
+ "shown to users when they join the channel."
+ "\n\n"
+ "The \002%s\032CLEAR\002 command clears all entries from "
+ "the list of messages shown to users when they join "
+ "the channel, effectively disabling entry messages."
+ "\n\n"
+ "Adding, deleting, or clearing entry messages requires the "
+ "SET permission."
+ ),
+ source.command.nobreak().c_str(),
+ source.command.nobreak().c_str(),
+ source.command.nobreak().c_str(),
+ source.command.nobreak().c_str());
return true;
}
};