Commit Diff


commit - 566a451299cab41810bafc5ed11a5021e30d9b3d
commit + adf92302bf9bb6420acd1f1153515586794b1574
blob - c2f4910e47645807251c82e9815e61ccdbc08279
blob + 883893fc5d2c4add0d9cf61a3ebb7e86dca84824
--- src/ngircd/irc-info.c
+++ src/ngircd/irc-info.c
@@ -1185,7 +1185,7 @@ IRC_WHOIS( CLIENT *Client, REQUEST *Req )
 		 */
 		if (!has_wildcards || is_remote) {
 			c = Client_Search(query);
-			if (c) {
+			if (c && Client_Type(c) == CLIENT_USER) {
 				if (!IRC_WHOIS_SendReply(Client, from, c))
 					return DISCONNECTED;
 			} else {