From 5d9a201df83bf32e741a54fa1ba65f820e63b92a Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Mon, 16 May 2022 11:21:58 +0200 Subject: [PATCH] Don't show security-groups of ulines like NickServ (since it is irrelevant anyway). Reported by Lord255. --- src/modules/whois.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/whois.c b/src/modules/whois.c index f8d1d7563..370acfccf 100644 --- a/src/modules/whois.c +++ b/src/modules/whois.c @@ -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;