diff options
author | Adam <Adam@anope.org> | 2010-08-28 23:17:33 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-08-28 23:17:33 -0400 |
commit | 4319319f979c3b288f8f355915aa33541721810c (patch) | |
tree | d13a91175ad1e0ca9ce56a1f0338e6e5e1cfe875 /src/init.cpp | |
parent | e820e1af0d01011dbe9d91d2971cc3518f7f3d42 (diff) |
Burst back our juped servers if we disconnect
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index da3c30587..aae8e9eb2 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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) |