Don't try to find an eventhandler list if the list of lists hasn't
been initialized yet.
This commit is contained in:
parent
98b0e9d587
commit
146be906a1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80703
@ -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…
Reference in New Issue
Block a user