From d6b9005892db89cdb99518632e9e5716c745f84c Mon Sep 17 00:00:00 2001 From: Ed Kellett Date: Mon, 31 Aug 2020 16:34:20 +0100 Subject: [PATCH] extb_canjoin: disable inside +e --- extensions/extb_canjoin.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/extb_canjoin.c b/extensions/extb_canjoin.c index 7af8b193..2702c683 100644 --- a/extensions/extb_canjoin.c +++ b/extensions/extb_canjoin.c @@ -46,6 +46,8 @@ static int eb_canjoin(const char *data, struct Client *client_p, return EXTBAN_INVALID; if (data == NULL) return EXTBAN_INVALID; + if (mode_type == CHFL_EXCEPTION) + return EXTBAN_INVALID; chptr2 = find_channel(data); /* must exist, and no point doing this with the same channel */ if (chptr2 == NULL || chptr2 == chptr)