mirror of
https://github.com/anope/anope.git
synced 2026-07-05 21:13:13 +02:00
Added amsg kicker settings to /bs info
This commit is contained in:
@@ -471,7 +471,7 @@ class BSKick : public Module
|
||||
Channel *c = (*it)->chan;
|
||||
++it;
|
||||
|
||||
if (c->ci != NULL)
|
||||
if (c->ci != NULL && c->ci->botflags.HasFlag(BS_KICK_AMSGS))
|
||||
{
|
||||
check_ban(c->ci, u, TTB_AMSGS);
|
||||
bot_kick(c->ci, u, BOT_REASON_AMSGS);
|
||||
|
||||
Reference in New Issue
Block a user