mirror of
https://github.com/anope/anope.git
synced 2026-06-28 05:36:38 +02:00
Made Anope keep track of channels its clients are in if it splits from its uplink, then burst them back to its uplink once connection is reestablished.
Also made Anope use TS enforcement to change persistant channels creation time to the time they were registered.
This commit is contained in:
+2
-2
@@ -290,8 +290,6 @@ void check_modes(Channel *c)
|
||||
/* If this channel does not have the mode and the mode is mlocked */
|
||||
if (cm->Type == MODE_REGULAR && !c->HasMode(cm->Name) && ci->HasMLock(cm->Name, true))
|
||||
{
|
||||
c->SetMode(NULL, cm);
|
||||
|
||||
/* Add the eventual parameter and modify the Channel structure */
|
||||
if (cm->Type == MODE_PARAM)
|
||||
{
|
||||
@@ -335,6 +333,8 @@ void check_modes(Channel *c)
|
||||
c->RemoveMode(NULL, cm);
|
||||
}
|
||||
}
|
||||
|
||||
stick_all(ci);
|
||||
}
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user