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);