Apply minor fixes from patches@, SF tracker, and others.
[ircu2.10.12-pk.git] / ircd / channel.c
index fd2df7efc4e3f4301adef1efa6731bd94fc662e8..6b038274eefd2c2350c5d68be89a10ca5fb2c8fa 100644 (file)
@@ -484,7 +484,7 @@ static int is_banned(struct Client *cptr, struct Channel *chptr,
       if (match(tmp->value.ban.banstr, ip_s) == 0)
         break;
     }
-    else if (match(tmp->value.ban.banstr, s) == 0)
+    if (match(tmp->value.ban.banstr, s) == 0)
       break;
     else if (sr && match(tmp->value.ban.banstr, sr) == 0)
       break;