0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-18 16:00:57 +01:00

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; 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;