diff --git a/ircd/authproc.c b/ircd/authproc.c index ff179160..e8fa8181 100644 --- a/ircd/authproc.c +++ b/ircd/authproc.c @@ -648,7 +648,8 @@ blacklist_delete(rb_dictionary_element *delem, void *unused) void del_blacklist_all(void) { - rb_dictionary_destroy(bl_stats, blacklist_delete, NULL); + if(bl_stats != NULL) + rb_dictionary_destroy(bl_stats, blacklist_delete, NULL); bl_stats = NULL; rb_helper_write(authd_helper, "O rbl_del_all");