diff options
author | Adam <Adam@anope.org> | 2011-02-27 16:47:23 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-02-27 16:47:23 -0500 |
commit | bcaf406747ea0456e97f40ba09f76223dd246581 (patch) | |
tree | 441f91fc002fda94a2008d9e7a755c76c30cd2c0 /src/init.cpp | |
parent | f234a2bfab8a4d900cfc0df91afed530d80738d4 (diff) |
Made akills work on IRCds that do not support bans (ngircd)
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/init.cpp b/src/init.cpp index fd2a1f3b1..7b520808b 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -34,7 +34,7 @@ void introduce_user(const Anope::string &user) if (bi) { XLine x(bi->nick, "Reserved for services"); - ircdproto->SendSQLine(&x); + ircdproto->SendSQLine(NULL, &x); for (UChannelList::const_iterator cit = bi->chans.begin(), cit_end = bi->chans.end(); cit != cit_end; ++cit) ircdproto->SendJoin(bi, (*cit)->chan, &Config->BotModeList); @@ -67,7 +67,7 @@ void introduce_user(const Anope::string &user) if (bi) { XLine x(bi->nick, "Reserved for services"); - ircdproto->SendSQLine(&x); + ircdproto->SendSQLine(NULL, &x); for (UChannelList::const_iterator cit = bi->chans.begin(), cit_end = bi->chans.end(); cit != cit_end; ++cit) ircdproto->SendJoin(bi, (*cit)->chan, &Config->BotModeList); @@ -77,9 +77,6 @@ void introduce_user(const Anope::string &user) /* Load MLock from the database now that we know what modes exist */ for (registered_channel_map::iterator it = RegisteredChannelList.begin(), it_end = RegisteredChannelList.end(); it != it_end; ++it) it->second->LoadMLock(); - - /* Add our SXLines */ - XLineManager::Burst(); } /*************************************************************************/ |