mirror of
https://github.com/anope/anope.git
synced 2026-07-04 14:53:12 +02:00
Made akills work on IRCds that do not support bans (ngircd)
This commit is contained in:
@@ -82,7 +82,7 @@ class CommandCSForbid : public Command
|
||||
if (ircd->chansqline)
|
||||
{
|
||||
XLine x(chan, "Forbidden");
|
||||
ircdproto->SendSQLine(&x);
|
||||
ircdproto->SendSQLine(NULL, &x);
|
||||
}
|
||||
|
||||
Log(LOG_ADMIN, u, this, ci) << (!ci->forbidreason.empty() ? ci->forbidreason : "No reason");
|
||||
|
||||
Reference in New Issue
Block a user