mirror of
https://github.com/anope/anope.git
synced 2026-07-08 10:23:14 +02:00
Attempt to write back the old mlock to the databases if we try and fail to connect to the uplink. Because we may not know modes until after we are synced we could accidentally nuke all of the mlocks
This commit is contained in:
@@ -387,8 +387,13 @@ void ChannelInfo::LoadMLock()
|
||||
this->SetMLock(cm->Name, true, it->second);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
this->Shrink("db_mlock_modes_on");
|
||||
this->Shrink("db_mlock_modes_off");
|
||||
this->Shrink("db_mlp");
|
||||
|
||||
/* Create perm channel */
|
||||
if (this->HasFlag(CI_PERSIST) && !this->c)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user