diff options
author | Adam <Adam@anope.org> | 2012-10-30 15:50:39 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-10-30 15:50:39 -0400 |
commit | b07928eea95dc2c12a2be8adfe804e2019881ee5 (patch) | |
tree | 6ae3ca2794f13d868c5931fc71ebbefa0313265c /src/servers.cpp | |
parent | 1ef748038083e845af040ddc0b52ac27d2fe6753 (diff) |
Clean up ngircd proto mod slightly, and send sqlines before introducing clients
Diffstat (limited to 'src/servers.cpp')
-rw-r--r-- | src/servers.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/servers.cpp b/src/servers.cpp index 40d4bc2b2..8c134848b 100644 --- a/src/servers.cpp +++ b/src/servers.cpp @@ -95,15 +95,16 @@ Server::Server(Server *uplink, const Anope::string &name, unsigned hops, const A { User *u = it->second; - ircdproto->SendClientIntroduction(u); - BotInfo *bi = findbot(u->nick); if (bi) { - bi->introduced = true; XLine x(bi->nick, "Reserved for services"); ircdproto->SendSQLine(NULL, &x); } + + ircdproto->SendClientIntroduction(u); + if (bi) + bi->introduced = true; } for (channel_map::const_iterator it = ChannelList.begin(), it_end = ChannelList.end(); it != it_end; ++it) |