diff options
author | Sadie Powell <sadie@witchery.services> | 2025-04-22 18:14:46 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-04-22 18:56:26 +0100 |
commit | f3743cd37dd1efb2d31f2d8aa3d489df68909c84 (patch) | |
tree | 64066a4b7f4aea205a3f8bf4811e0235646f4870 /modules/chanserv/cs_mode.cpp | |
parent | 0c155e0c056235720e258edc4be8c48244e73033 (diff) |
Remove hardcoded command names from most messages.
Diffstat (limited to 'modules/chanserv/cs_mode.cpp')
-rw-r--r-- | modules/chanserv/cs_mode.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/chanserv/cs_mode.cpp b/modules/chanserv/cs_mode.cpp index f7f417d28..26741654f 100644 --- a/modules/chanserv/cs_mode.cpp +++ b/modules/chanserv/cs_mode.cpp @@ -784,16 +784,16 @@ public: "modify the existing mode lock." "\n\n" "Example:\n" - " \002MODE\032#channel\032LOCK\032ADD\032+bmnt\032*!*@*aol*\002\n" + " \002%s\032#channel\032%s\032ADD\032+bmnt\032*!*@*aol*\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." "\n\n" "Example:\n" - " \002MODE\032#channel\032SET\032+v\032*\002\n" + " \002%s\032#channel\032SET\032+v\032*\002\n" " Sets voice status to all users in the channel." "\n\n" - " \002MODE\032#channel\032SET\032-b\032~c:*\n" + " \002%s\032#channel\032SET\032-b\032~c:*\n" " Clears all extended bans that start with ~c:" "\n\n" "The \002%s\032CLEAR\002 command is an easy way to clear modes on a channel. \037what\037 may be " @@ -802,6 +802,10 @@ 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(), + source.command.nobreak().c_str(), source.command.nobreak().c_str()); return true; } |