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