diff options
author | Adam <Adam@anope.org> | 2013-08-14 18:24:04 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-08-14 18:24:04 -0400 |
commit | 4abfdcbb9c76fa8ed9e0acfc045a68e92f2ab133 (patch) | |
tree | f1f8f277c61faaf1edd195c1d9bb111503b35d58 | |
parent | de5c8c0d386375c46d812c5843a5bb5a850ee865 (diff) |
Do not default mlock +r, it is unnecessray and only clutters up the mlock list
-rw-r--r-- | data/chanserv.example.conf | 4 | ||||
-rw-r--r-- | modules/commands/cs_mode.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf index b25e8c224..d5e881ab2 100644 --- a/data/chanserv.example.conf +++ b/data/chanserv.example.conf @@ -1032,9 +1032,9 @@ module /* * Default modes for mode lock, these are set on newly registered channels. * - * If not set, the default is +nrt. + * If not set, the default is +nt. */ - mlock = "+nrt" + mlock = "+nt" } command { service = "ChanServ"; name = "MODE"; command = "chanserv/mode"; group = "chanserv/management"; } diff --git a/modules/commands/cs_mode.cpp b/modules/commands/cs_mode.cpp index f38333265..7bbd2cdde 100644 --- a/modules/commands/cs_mode.cpp +++ b/modules/commands/cs_mode.cpp @@ -947,7 +947,7 @@ class CSMode : public Module { ModeLocks *ml = modelocks.Require(ci); Anope::string mlock; - spacesepstream sep(Config->GetModule(this)->Get<const Anope::string>("mlock", "+nrt")); + spacesepstream sep(Config->GetModule(this)->Get<const Anope::string>("mlock", "+nt")); if (sep.GetToken(mlock)) { bool add = true; |