mirror of
https://github.com/anope/anope.git
synced 2026-07-01 05:56:38 +02:00
Fixed some logic fail when detecting who should be akicked
This commit is contained in:
+5
-2
@@ -768,8 +768,11 @@ bool ChannelInfo::CheckKick(User *user)
|
||||
{
|
||||
AutoKick *autokick = this->GetAkick(j);
|
||||
|
||||
if (autokick->HasFlag(AK_ISNICK) && autokick->nc == nc)
|
||||
do_kick = true;
|
||||
if (autokick->HasFlag(AK_ISNICK))
|
||||
{
|
||||
if (autokick->nc == nc)
|
||||
do_kick = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
Entry akick_mask(autokick->mask);
|
||||
|
||||
Reference in New Issue
Block a user