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:
@@ -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"; }
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user