From 922c871dd6eb74f7add02f9f924c2207eae4ffbd Mon Sep 17 00:00:00 2001 From: Egor Date: Fri, 3 Feb 2023 21:53:57 +0200 Subject: [PATCH] fix +B in WHOIS --- irc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.56.0