mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
m_stats: don't try to access bl_stats if it doesn't exist
This commit is contained in:
parent
3c5f720c6f
commit
896370cc3e
1 changed files with 3 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue