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/chanserv/cs_drop.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/chanserv/cs_drop.cpp')
-rw-r--r-- | modules/chanserv/cs_drop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/chanserv/cs_drop.cpp b/modules/chanserv/cs_drop.cpp index 91032905f..ea7f07b50 100644 --- a/modules/chanserv/cs_drop.cpp +++ b/modules/chanserv/cs_drop.cpp @@ -58,8 +58,8 @@ public: *code = Anope::Random(15); } - source.Reply(CONFIRM_DROP, ci->name.c_str(), Config->StrictPrivmsg.c_str(), - source.service->nick.c_str(), ci->name.c_str(), code->c_str()); + source.Reply(CONFIRM_DROP, ci->name.c_str(), source.service->GetQueryCommand().c_str(), + ci->name.c_str(), code->c_str()); return; } |