1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 07:36:39 +02:00

Allow hostmasks to be in uplink:host

This commit is contained in:
Adam
2010-12-21 15:57:57 -05:00
parent 21125cf2cb
commit 18377ac9fd
4 changed files with 50 additions and 12 deletions
+8 -11
View File
@@ -61,19 +61,16 @@ void introduce_user(const Anope::string &user)
{
User *u = *it;
if (u->nick.equals_ci(user))
ircdproto->SendClientIntroduction(u, ircd->pseudoclient_mode);
BotInfo *bi = findbot(u->nick);
if (bi)
{
ircdproto->SendClientIntroduction(u, ircd->pseudoclient_mode);
XLine x(bi->nick, "Reserved for services");
ircdproto->SendSQLine(&x);
BotInfo *bi = findbot(u->nick);
if (bi)
{
XLine x(bi->nick, "Reserved for services");
ircdproto->SendSQLine(&x);
for (UChannelList::const_iterator cit = bi->chans.begin(), cit_end = bi->chans.end(); cit != cit_end; ++cit)
ircdproto->SendJoin(bi, *cit);
}
for (UChannelList::const_iterator cit = bi->chans.begin(), cit_end = bi->chans.end(); cit != cit_end; ++cit)
ircdproto->SendJoin(bi, *cit);
}
}