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_kick.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_kick.cpp')
| -rw-r--r-- | modules/botserv/bs_kick.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/botserv/bs_kick.cpp b/modules/botserv/bs_kick.cpp index ba2ace0dd..584f34f9d 100644 --- a/modules/botserv/bs_kick.cpp +++ b/modules/botserv/bs_kick.cpp @@ -153,11 +153,11 @@ public: } } - source.Reply(_("Type \002%s%s HELP %s \037option\037\002 for more information\n" + source.Reply(_("Type \002%s HELP %s \037option\037\002 for more information\n" "on a specific option.\n" " \n" "Note: access to this command is controlled by the\n" - "level SET."), Config->StrictPrivmsg.c_str(), source.service->nick.c_str(), this_name.c_str()); + "level SET."), source.service->GetQueryCommand().c_str(), this_name.c_str()); return true; } @@ -308,12 +308,12 @@ public: "option tells the bot to kick users who say certain words\n" "on the channels.\n" "You can define bad words for your channel using the\n" - "\002BADWORDS\002 command. Type \002%s%s HELP BADWORDS\002 for\n" + "\002BADWORDS\002 command. Type \002%s HELP BADWORDS\002 for\n" "more information.\n" " \n" "\037ttb\037 is the number of times a user can be kicked\n" "before it gets banned. Don't give ttb to disable\n" - "the ban system once activated."), Config->StrictPrivmsg.c_str(), source.service->nick.c_str()); + "the ban system once activated."), source.service->GetQueryCommand().c_str()); return true; } }; |
