mirror of
https://github.com/anope/anope.git
synced 2026-06-25 04:16:39 +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:
@@ -197,6 +197,11 @@ void IRCDProto::SendPong(const Anope::string &servname, const Anope::string &who
|
||||
send_cmd(ircd->ts6 ? TS6SID : Config->ServerName, "PONG %s %s", servname.c_str(), who.c_str());
|
||||
}
|
||||
|
||||
void IRCDProto::SendJoin(BotInfo *bi, const ChannelContainer *cc)
|
||||
{
|
||||
SendJoin(bi, cc->chan->name, cc->chan->creation_time);
|
||||
}
|
||||
|
||||
void IRCDProto::SendInvite(const BotInfo *bi, const Anope::string &chan, const Anope::string &nick)
|
||||
{
|
||||
send_cmd(ircd->ts6 ? bi->GetUID() : bi->nick, "INVITE %s %s", nick.c_str(), chan.c_str());
|
||||
|
||||
Reference in New Issue
Block a user