1
0
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:
Bram Matthys
2021-06-19 12:47:52 +02:00
parent 991f9f347e
commit 6cc50d16d0
+1 -1
View File
@@ -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;
}