mirror of
https://github.com/anope/anope.git
synced 2026-06-28 02:16:37 +02:00
Fix usestrictprivmsg /msg vs / logic
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user