1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 04:23:14 +02:00

Burst back our juped servers if we disconnect

This commit is contained in:
Adam
2010-08-28 23:17:33 -04:00
parent e820e1af0d
commit 4319319f97
5 changed files with 22 additions and 7 deletions
+10
View File
@@ -30,6 +30,16 @@ void introduce_user(const Anope::string &user)
if (user.empty())
ircdproto->SendBOB();
for (unsigned i = 0; i < Me->GetLinks().size(); ++i)
{
Server *s = Me->GetLinks()[i];
if (s->HasFlag(SERVER_JUPED))
{
ircdproto->SendServer(s);
}
}
/* We make the bots go online */
for (botinfo_map::const_iterator it = BotListByNick.begin(), it_end = BotListByNick.end(); it != it_end; ++it)