From 4abfdcbb9c76fa8ed9e0acfc045a68e92f2ab133 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 14 Aug 2013 18:24:04 -0400 Subject: [PATCH] Do not default mlock +r, it is unnecessray and only clutters up the mlock list --- data/chanserv.example.conf | 4 ++-- 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("mlock", "+nrt")); + spacesepstream sep(Config->GetModule(this)->Get("mlock", "+nt")); if (sep.GetToken(mlock)) { bool add = true;