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_register.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/chanserv/cs_register.cpp') diff --git a/modules/chanserv/cs_register.cpp b/modules/chanserv/cs_register.cpp index 1610a98ba..1a660efa9 100644 --- a/modules/chanserv/cs_register.cpp +++ b/modules/chanserv/cs_register.cpp @@ -100,9 +100,9 @@ public: Anope::string cmd; if (Command::FindCommandFromService("chanserv/access", bi, cmd)) source.Reply(_(" \n" - "See the \002%s\002 command (\002%s%s HELP ACCESS\002) for\n" + "See the \002%s\002 command (\002%s HELP ACCESS\002) for\n" "information on giving a subset of these privileges to\n" - "other channel users.\n"), cmd.c_str(), Config->StrictPrivmsg.c_str(), bi->nick.c_str()); + "other channel users.\n"), cmd.c_str(), bi->GetQueryCommand().c_str()); source.Reply(_(" \n" "NOTICE: In order to register a channel, you must have\n" "first registered your nickname.")); -- cgit