os_akillnicklist: use a const iter on stringrefs
This commit is contained in:
parent
62d8b8c1e9
commit
be594cab4e
|
@ -100,7 +100,7 @@ aknl_nickhook(hook_user_nick_t *data)
|
||||||
{
|
{
|
||||||
user_t *u;
|
user_t *u;
|
||||||
bool doit = false;
|
bool doit = false;
|
||||||
char *username;
|
const char *username;
|
||||||
|
|
||||||
return_if_fail(data != NULL);
|
return_if_fail(data != NULL);
|
||||||
return_if_fail(data->u != NULL);
|
return_if_fail(data->u != NULL);
|
||||||
|
|
Loading…
Reference in New Issue