mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 12:23:13 +02:00
Fix security group code seeing remote users as always on TLS.
Likely not that important until now, but fix needed for next...
This commit is contained in:
+1
-1
@@ -866,7 +866,7 @@ int user_allowed_by_security_group(Client *client, SecurityGroup *s)
|
||||
return 1;
|
||||
if (s->reputation_score && (GetReputation(client) >= s->reputation_score))
|
||||
return 1;
|
||||
if (s->tls && (IsSecureConnect(client) || IsSecure(client)))
|
||||
if (s->tls && (IsSecureConnect(client) || (MyConnect(client) && IsSecure(client))))
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user