mirror of
https://github.com/anope/anope.git
synced 2026-06-29 18:56:37 +02:00
Made akills work on IRCds that do not support bans (ngircd)
This commit is contained in:
@@ -241,7 +241,7 @@ class CommandBSBot : public Command
|
||||
{
|
||||
ircdproto->SendChangeBotNick(bi, nick);
|
||||
XLine x(bi->nick, "Reserved for services");
|
||||
ircdproto->SendSQLine(&x);
|
||||
ircdproto->SendSQLine(NULL, &x);
|
||||
}
|
||||
|
||||
if (!nick.equals_cs(bi->nick))
|
||||
@@ -258,7 +258,7 @@ class CommandBSBot : public Command
|
||||
{
|
||||
ircdproto->SendClientIntroduction(bi, ircd->pseudoclient_mode);
|
||||
XLine x(bi->nick, "Reserved for services");
|
||||
ircdproto->SendSQLine(&x);
|
||||
ircdproto->SendSQLine(NULL, &x);
|
||||
bi->RejoinAll();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user