diff options
| author | Adam <Adam@anope.org> | 2010-08-21 01:40:36 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-08-21 01:40:36 -0400 |
| commit | fb551f0d5d412246a5221e8e9e310c191033b317 (patch) | |
| tree | e737cdf9db93d53313701695c338ab9c96e83e9f /src/chanserv.cpp | |
| parent | 931b0777fbd961a4ca961ddfa763af92dcce946c (diff) | |
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.
Diffstat (limited to 'src/chanserv.cpp')
| -rw-r--r-- | src/chanserv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chanserv.cpp b/src/chanserv.cpp index 03760b9b6..c80de4c75 100644 --- a/src/chanserv.cpp +++ b/src/chanserv.cpp @@ -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); } /*************************************************************************/ |
