From: Egor Date: Fri, 3 Feb 2023 19:53:57 +0000 (+0200) Subject: fix +B in WHOIS X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=922c871dd6eb74f7add02f9f924c2207eae4ffbd;p=patchyircd.git fix +B in WHOIS --- diff --git a/irc.c b/irc.c index 897ebd9..2806034 100644 --- a/irc.c +++ b/irc.c @@ -1069,7 +1069,7 @@ int processPacket(struct client_data *client, char *source, char *command, int a if (client == cl || client->umode & UMODE_OPER) rpl_whoisactually(client, cl), sendbuf(client); rpl_whoismodes(client, cl), sendbuf(client); - if (client->umode & UMODE_BOT) + if (cl->umode & UMODE_BOT) rpl_whoisbot(client, cl), sendbuf(client); rpl_endofwhois(client, cl), sendbuf(client); } else {