1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 20:46:39 +02:00

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.
This commit is contained in:
Sadie Powell
2024-10-22 16:16:32 +01:00
parent 8b02613549
commit f1751dcb21
33 changed files with 242 additions and 155 deletions
+4 -4
View File
@@ -153,11 +153,11 @@ public:
"It has been created for users that can't host or\n"
"configure a bot, or for use on networks that don't\n"
"allow user bots. Available commands are listed\n"
"below; to use them, type \002%s%s \037command\037\002. For\n"
"below; to use them, type \002%s \037command\037\002. For\n"
"more information on a specific command, type\n"
"\002%s%s %s \037command\037\002.\n"),
BotServ->nick.c_str(), Config->StrictPrivmsg.c_str(), BotServ->nick.c_str(),
Config->StrictPrivmsg.c_str(), BotServ->nick.c_str(), source.command.c_str());
"\002%s %s \037command\037\002.\n"),
BotServ->nick.c_str(), BotServ->GetQueryCommand().c_str(),
BotServ->GetQueryCommand().c_str(), source.command.c_str());
}
return EVENT_CONTINUE;