diff options
author | Adam <Adam@anope.org> | 2010-12-21 15:57:57 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-21 15:57:57 -0500 |
commit | 18377ac9fd36065bfd791b5cea51de9ae1d2b11d (patch) | |
tree | 621f23e6139c4083b957ddf27ec15ab0deb71345 /src/init.cpp | |
parent | 21125cf2cb0dc5f80f9f796fe4c222c36ba2fcc4 (diff) |
Allow hostmasks to be in uplink:host
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/init.cpp b/src/init.cpp index 3fb8f55a4..54d3e3bdb 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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); + ircdproto->SendClientIntroduction(u, ircd->pseudoclient_mode); - BotInfo *bi = findbot(u->nick); - if (bi) - { - 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); } } |