summaryrefslogtreecommitdiff
path: root/kike.c
diff options
context:
space:
mode:
Diffstat (limited to 'kike.c')
-rw-r--r--kike.c2
1 files changed, 2 insertions, 0 deletions
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);