mirror of
https://github.com/anope/anope.git
synced 2026-07-09 05:43:13 +02:00
Made akills work on IRCds that do not support bans (ngircd)
This commit is contained in:
@@ -71,7 +71,7 @@ class CommandNSForbid : public Command
|
||||
if (ircd->sqline)
|
||||
{
|
||||
XLine x(na->nick, !reason.empty() ? reason : "Forbidden");
|
||||
ircdproto->SendSQLine(&x);
|
||||
ircdproto->SendSQLine(NULL, &x);
|
||||
}
|
||||
|
||||
Log(LOG_ADMIN, u, this) << "to forbid nick " << nick;
|
||||
|
||||
Reference in New Issue
Block a user