diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-10-22 16:16:32 +0100 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-10-22 16:29:22 +0100 |
| commit | f1751dcb213b953ff362eda3276e210258a7cdb2 (patch) | |
| tree | fab818dd75eaafee74d0b80e9d3da3e28aa0244c /modules/botserv/bs_badwords.cpp | |
| parent | 8b026135492c13ae030b27cb6ec6c5b09131c0bd (diff) | |
Replace usestrictprivmsg with something actually useful.
Every IRC server we support (other than Bahamut which is probably
on the chopping bock) uses UIDs so this setting does nothing.
Instead, allow configuring a server-side alias for each service
and use that when servicealias is enabled.
Diffstat (limited to 'modules/botserv/bs_badwords.cpp')
| -rw-r--r-- | modules/botserv/bs_badwords.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/botserv/bs_badwords.cpp b/modules/botserv/bs_badwords.cpp index 2396a91c6..95478a0df 100644 --- a/modules/botserv/bs_badwords.cpp +++ b/modules/botserv/bs_badwords.cpp @@ -430,7 +430,7 @@ public: source.Reply(_("Maintains the \002bad words list\002 for a channel. The bad\n" "words list determines which words are to be kicked\n" "when the bad words kicker is enabled. For more information,\n" - "type \002%s%s HELP KICK %s\002.\n" + "type \002%s HELP KICK %s\002.\n" " \n" "The \002ADD\002 command adds the given word to the\n" "bad words list. If SINGLE is specified, a kick will be\n" @@ -440,7 +440,7 @@ public: "will be done if a user says a word that ends with\n" "\037word\037. If you don't specify anything, a kick will\n" "be issued every time \037word\037 is said by a user.\n" - " \n"), Config->StrictPrivmsg.c_str(), source.service->nick.c_str(), source.command.c_str()); + " \n"), source.service->GetQueryCommand().c_str(), source.command.c_str()); source.Reply(_("The \002DEL\002 command removes the given word from the\n" "bad words list. If a list of entry numbers is given, those\n" "entries are deleted. (See the example for LIST below.)\n" |
