From 3b69dfb583a15ad42cf155c3df25ad0a56350655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Mon, 4 Aug 2014 08:17:34 +0200 Subject: [PATCH] kike: remember to send back AWAY messages --- src/kike.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kike.c b/src/kike.c index 7639248..aea6612 100644 --- a/src/kike.c +++ b/src/kike.c @@ -1297,6 +1297,8 @@ irc_handle_privmsg (const struct irc_message *msg, struct client *c) { irc_send (client, ":%s!%s@%s PRIVMSG %s :%s", c->nickname, c->username, c->hostname, target, text); + if (client->away_message) + irc_send_reply (c, IRC_RPL_AWAY, target, client->away_message); return; }