فهرست منبع

* Fix RBL not checking fully if any user is found in the channel

Bryan Drewery 16 سال پیش
والد
کامیت
c5dd9388f1
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/mod/irc.mod/chan.c

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

@@ -75,10 +75,10 @@ static void resolv_member_callback(int id, void *client_data, const char *host,
           if (m->user)
             check_this_user(m->user->handle, 0, NULL);
         }
+        if (m->user)
+          matched_user = 1;
       }
     }
-    if (m->user)
-      matched_user = 1;
   }
 
   if (!matched_user && channel_rbl(r->chan))