From f1751dcb213b953ff362eda3276e210258a7cdb2 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 22 Oct 2024 16:16:32 +0100 Subject: 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. --- modules/chanserv/cs_xop.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/chanserv/cs_xop.cpp') diff --git a/modules/chanserv/cs_xop.cpp b/modules/chanserv/cs_xop.cpp index db8456492..e9a4899d2 100644 --- a/modules/chanserv/cs_xop.cpp +++ b/modules/chanserv/cs_xop.cpp @@ -594,11 +594,11 @@ public: source.Reply(_("Alternative methods of modifying channel access lists are\n" "available.")); if (!access_cmd.empty()) - source.Reply(_("See \002%s%s HELP %s\002 for more information\n" - "about the access list."), Config->StrictPrivmsg.c_str(), access_bi->nick.c_str(), access_cmd.c_str()); + source.Reply(_("See \002%s HELP %s\002 for more information\n" + "about the access list."), access_bi->GetQueryCommand().c_str(), access_cmd.c_str()); if (!flags_cmd.empty()) - source.Reply(_("See \002%s%s HELP %s\002 for more information\n" - "about the flags system."), Config->StrictPrivmsg.c_str(), flags_bi->nick.c_str(), flags_cmd.c_str()); + source.Reply(_("See \002%s HELP %s\002 for more information\n" + "about the flags system."), flags_bi->GetQueryCommand().c_str(), flags_cmd.c_str()); } return true; } -- cgit