summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.cpp2
1 files changed, 1 insertions, 1 deletions
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<time_t>("readtimeout");
this->UsePrivmsg = options->Get<bool>("useprivmsg");
- this->StrictPrivmsg = options->Get<bool>("usestrictprivmsg") ? "/msg " : "/";
+ this->StrictPrivmsg = !options->Get<bool>("usestrictprivmsg") ? "/msg " : "/";
{
std::vector<Anope::string> defaults;
spacesepstream(this->GetModule("nickserv")->Get<const Anope::string>("defaults")).GetTokens(defaults);