From 103a1bfd3402f5a4e6aa6c906cb1b2f300866166 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 16 Jan 2016 02:28:49 -0600 Subject: [PATCH] extensions/override: disable false positive modehack notice --- extensions/override.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/override.c b/extensions/override.c index 0b1e614d5..cd40ebeee 100644 --- a/extensions/override.c +++ b/extensions/override.c @@ -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;