From 1773eef143bc7bc63e7ffb2da124ea46ae770982 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 19 Jun 2013 20:53:40 -0400 Subject: Don't enforce usestrictprivmsg on TS6 IRCds and cache the value of usestrictprivmsg --- src/messages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/messages.cpp') diff --git a/src/messages.cpp b/src/messages.cpp index fcaeffa43..1fcc8b898 100644 --- a/src/messages.cpp +++ b/src/messages.cpp @@ -300,7 +300,7 @@ void Privmsg::Run(MessageSource &source, const std::vector ¶m if (!servername.equals_ci(Me->GetName())) return; } - else if (Config->GetBlock("options")->Get("usestrictprivmsg")) + else if (!IRCD->RequiresID && Config->UseStrictPrivmsg) { const BotInfo *bi = BotInfo::Find(receiver); if (!bi) -- cgit