Don't try to find an eventhandler list if the list of lists hasn't
been initialized yet.
This commit is contained in:
parent
fe4d4f7ee3
commit
7abfb73d23
@ -154,6 +154,9 @@ struct eventhandler_list *
|
||||
eventhandler_find_list(char *name)
|
||||
{
|
||||
struct eventhandler_list *list;
|
||||
|
||||
if (!eventhandler_lists_initted)
|
||||
return(NULL);
|
||||
|
||||
/* scan looking for the requested list */
|
||||
mtx_lock(&eventhandler_mutex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user