Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / s_stats.c
index 2a7ca4ad551b1d3aace9688549f09bd0e97d3dcc..38ea8f70e51c5ca62ac173240d5c6ea7ca931ae9 100644 (file)
@@ -166,7 +166,7 @@ void report_deny_list(struct Client* to)
 {
   const struct DenyConf* p = conf_get_deny_list();
   for ( ; p; p = p->next)
-    send_reply(to, RPL_STATSKLINE, (p->ip_kill) ? 'k' : 'K',
+    send_reply(to, RPL_STATSKLINE, (p->flags & DENY_FLAGS_IP) ? 'k' : 'K',
                p->hostmask, p->message, p->usermask);
 }