diff options
author | Adam <Adam@anope.org> | 2013-06-13 20:50:59 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-06-13 20:50:59 -0400 |
commit | 70319ab8be74af4b5c445e2ff2bb64292ad0cce8 (patch) | |
tree | f40927295e0dbbeaa1879ea77e6f8be820f02024 /src/config.cpp | |
parent | 7dd358972a15f9911a0bcb6f5389679bbe8dde5a (diff) |
Fix usestrictprivmsg /msg vs / logic
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 2 |
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); |