diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-08-10 19:38:00 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-08-10 19:38:00 +0200 |
commit | 776c334128210c1040ca321689a3c389df33b80c (patch) | |
tree | 338746c85c36be52a9ea29557ba6d4a5ee57e509 /kike.c | |
parent | 1219b92b73e57a7ea1a690fbbc45201bf830eadb (diff) | |
download | xK-776c334128210c1040ca321689a3c389df33b80c.tar.gz xK-776c334128210c1040ca321689a3c389df33b80c.tar.xz xK-776c334128210c1040ca321689a3c389df33b80c.zip |
kike: also send RPL_AWAY in WHOIS
Diffstat (limited to 'kike.c')
-rw-r--r-- | kike.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |