From 3b69dfb583a15ad42cf155c3df25ad0a56350655 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Mon, 4 Aug 2014 08:17:34 +0200 Subject: kike: remember to send back AWAY messages --- src/kike.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2