diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2010-12-22 07:05:40 +0100 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2010-12-22 07:05:40 +0100 |
commit | 184e7b3f64beb104e2d676048fc5bf485c5ad743 (patch) | |
tree | 13aefec932d42365c50649b008c00612ec2e8d86 /src/init.cpp | |
parent | 184e14ea83412489921367614d63a7c24df3827d (diff) | |
parent | 18377ac9fd36065bfd791b5cea51de9ae1d2b11d (diff) |
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
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); } } |