1
0
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:
Adam
2011-03-04 02:19:20 -05:00
parent feb81c51d2
commit dd968c07be
+5 -2
View File
@@ -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);