mirror of
https://github.com/anope/anope.git
synced 2026-06-28 06:36:38 +02:00
Clean up ngircd proto mod slightly, and send sqlines before introducing clients
This commit is contained in:
+4
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user