From: Egor Date: Fri, 27 Oct 2023 16:02:56 +0000 (+0300) Subject: rpl_whoreply: move bot flag to the end X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=d51b79b5a64023dabd106db1fb375c25691d62f0;p=patchyircd.git rpl_whoreply: move bot flag to the end --- diff --git a/src/ircfmt.c b/src/ircfmt.c index d2b519f..fc3affe 100644 --- a/src/ircfmt.c +++ b/src/ircfmt.c @@ -249,8 +249,9 @@ void rpl_whoreply(struct client_data *client, struct client_data *cl, struct cha { copy_strf(&databuf, ":%s 352 %s %s %s %s %s %s %s%s%s%s :1 %s\r\n", hostname, client->nick, chan ? chan->name : "*", cl->username, cl->hostname, hostname, cl->nick, - cl->away ? "G" : "H", cl->umode&UMODE_BOT ? "B" : "", - cl->umode&UMODE_OPER ? "*" : "", format_prefixes(client, cl, chan), cl->realname); + cl->away ? "G" : "H", cl->umode&UMODE_OPER ? "*" : "", format_prefixes(client, cl, chan), + cl->umode&UMODE_BOT ? "B" : "", + cl->realname); } void rpl_endofwho(struct client_data *client, const char *query) // 315 {