os_akillnicklist: Don't assert data->u != NULL
data->u can be NULL in legitimate cases, such as operserv/clones having already killed the user, so silently return if this is the case, rather than printing an error message.
This commit is contained in:
parent
facf73262d
commit
1fab676c85
|
@ -103,7 +103,9 @@ aknl_nickhook(hook_user_nick_t *data)
|
|||
const char *username;
|
||||
|
||||
return_if_fail(data != NULL);
|
||||
return_if_fail(data->u != NULL);
|
||||
|
||||
if (!data->u)
|
||||
return;
|
||||
|
||||
u = data->u;
|
||||
|
||||
|
|
Loading…
Reference in New Issue