extensions/override: disable false positive modehack notice

This commit is contained in:
William Pitcock 2016-01-16 02:28:49 -06:00
parent f69d7febc7
commit 103a1bfd34

View file

@ -198,7 +198,7 @@ hack_can_kick(void *vdata)
hook_data_channel_approval *data = (hook_data_channel_approval *) vdata;
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)
return;