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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user