extensions/override: disable false positive modehack notice
This commit is contained in:
parent
f69d7febc7
commit
103a1bfd34
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ hack_can_kick(void *vdata)
|
||||||
hook_data_channel_approval *data = (hook_data_channel_approval *) vdata;
|
hook_data_channel_approval *data = (hook_data_channel_approval *) vdata;
|
||||||
int alevel;
|
int alevel;
|
||||||
|
|
||||||
alevel = get_channel_access(data->client, data->chptr, data->msptr, data->dir, "KICK");
|
alevel = get_channel_access(data->client, data->chptr, data->msptr, data->dir, NULL);
|
||||||
if (alevel != CHFL_OVERRIDE)
|
if (alevel != CHFL_OVERRIDE)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue