1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 16:06:37 +02:00

Don't enforce usestrictprivmsg on TS6 IRCds and cache the value of usestrictprivmsg

This commit is contained in:
Adam
2013-06-19 20:53:40 -04:00
parent 7704ee7107
commit 1773eef143
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ void Privmsg::Run(MessageSource &source, const std::vector<Anope::string> &param
if (!servername.equals_ci(Me->GetName()))
return;
}
else if (Config->GetBlock("options")->Get<bool>("usestrictprivmsg"))
else if (!IRCD->RequiresID && Config->UseStrictPrivmsg)
{
const BotInfo *bi = BotInfo::Find(receiver);
if (!bi)