diff --git a/modules/m_stats.c b/modules/m_stats.c index d67348e6..997019d7 100644 --- a/modules/m_stats.c +++ b/modules/m_stats.c @@ -756,6 +756,9 @@ stats_dnsbl(struct Client *source_p) rb_dictionary_iter iter; struct BlacklistStats *stats; + if(bl_stats == NULL) + return; + RB_DICTIONARY_FOREACH(stats, &iter, bl_stats) { /* use RPL_STATSDEBUG for now -- jilles */