From 2abef3cdfbaa26c94fb3fc68f30780ceb19688a2 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Sat, 6 Nov 2021 13:33:37 +0100 Subject: [PATCH] Don't check for NULL client in match_user() since it cannot or should not be. (raises false expectations) [skip ci] --- src/modules/tkl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/tkl.c b/src/modules/tkl.c index 680788b3b..f57271a2c 100644 --- a/src/modules/tkl.c +++ b/src/modules/tkl.c @@ -5014,7 +5014,7 @@ int _match_user(const char *rmask, Client *client, int options) if ((options & MATCH_CHECK_EXTENDED) && is_extended_ban(mask) && - client && client->user) + client->user) { /* Check user properties / extbans style */ return _match_user_extended_server_ban(rmask, client);