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

Don't show security-groups of ulines like NickServ (since it is irrelevant anyway).

Reported by Lord255.
This commit is contained in:
Bram Matthys
2022-05-16 11:21:58 +02:00
parent 5443dff327
commit 5d9a201df8
+1 -1
View File
@@ -565,7 +565,7 @@ CMD_FUNC(cmd_whois)
/* The following code deals with security-groups */
policy = whois_get_policy(client, target, "security-groups");
if (policy > WHOIS_CONFIG_DETAILS_NONE)
if ((policy > WHOIS_CONFIG_DETAILS_NONE) && !IsULine(target))
{
SecurityGroup *s;
int security_groups_whois_lines = 0;