1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 17:03:12 +02:00

Don't check for NULL client in match_user() since it cannot or should not be.

(raises false expectations)
[skip ci]
This commit is contained in:
Bram Matthys
2021-11-06 13:33:37 +01:00
parent 700c579ee7
commit 2abef3cdfb
+1 -1
View File
@@ -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);