1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 04:56:38 +02:00

Do not default mlock +r, it is unnecessray and only clutters up the mlock list

This commit is contained in:
Adam
2013-08-14 18:24:04 -04:00
parent de5c8c0d38
commit 4abfdcbb9c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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"; }
+1 -1
View File
@@ -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;