From 776c334128210c1040ca321689a3c389df33b80c Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sun, 10 Aug 2014 19:38:00 +0200 Subject: kike: also send RPL_AWAY in WHOIS --- kike.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kike.c b/kike.c index 6288e8c..0e5f2cb 100644 --- a/kike.c +++ b/kike.c @@ -1892,6 +1892,8 @@ irc_send_whois_reply (struct client *c, const struct client *target) irc_send_reply (c, IRC_RPL_WHOISOPERATOR, nick); irc_send_reply (c, IRC_RPL_WHOISIDLE, nick, (int) (time (NULL) - target->last_active)); + if (target->away_message) + irc_send_reply (c, IRC_RPL_AWAY, nick, target->away_message); struct str_map_iter iter; str_map_iter_init (&iter, &c->ctx->channels); -- cgit v1.2.3-70-g09d2