From 70319ab8be74af4b5c445e2ff2bb64292ad0cce8 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 13 Jun 2013 20:50:59 -0400 Subject: [PATCH] Fix usestrictprivmsg /msg vs / logic --- src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.cpp b/src/config.cpp index e560a6896..98b813ee7 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -182,7 +182,7 @@ Conf::Conf() : Block("") this->ReadTimeout = options->Get("readtimeout"); this->UsePrivmsg = options->Get("useprivmsg"); - this->StrictPrivmsg = options->Get("usestrictprivmsg") ? "/msg " : "/"; + this->StrictPrivmsg = !options->Get("usestrictprivmsg") ? "/msg " : "/"; { std::vector defaults; spacesepstream(this->GetModule("nickserv")->Get("defaults")).GetTokens(defaults);