Explorar o código

* Fix RBL lookup ignoring clients with userips

Bryan Drewery %!s(int64=16) %!d(string=hai) anos
pai
achega
1bdf5f1423
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/mod/irc.mod/chan.c

+ 1 - 1
src/mod/irc.mod/chan.c

@@ -109,7 +109,7 @@ static void resolve_rbl_callback(int id, void *client_data, const char *host, ch
 
   /* Apply lookup results to all matching members by host */
   for (m = r->chan->channel.member; m && m->nick[0]; m = m->next) {
-    if (!chan_sentkick(m) && !m->userip[0] && m->userhost[0]) {
+    if (!chan_sentkick(m) && m->userhost[0]) {
       pe = strchr(m->userhost, '@');
       if (pe && !strcmp(pe + 1, r->host)) {
         m->flags |= SENTKICK;