summaryrefslogtreecommitdiff
path: root/src/messages.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-06-19 20:53:40 -0400
committerAdam <Adam@anope.org>2013-06-19 20:53:40 -0400
commit1773eef143bc7bc63e7ffb2da124ea46ae770982 (patch)
tree1356a8b81082bf5685ea6437a2b6512f4e27a927 /src/messages.cpp
parent7704ee7107db8f689b7f9f7179097e0045597507 (diff)
Don't enforce usestrictprivmsg on TS6 IRCds and cache the value of usestrictprivmsg
Diffstat (limited to 'src/messages.cpp')
-rw-r--r--src/messages.cpp2
1 files changed, 1 insertions, 1 deletions
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<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)