aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/kike.c2
1 files changed, 2 insertions, 0 deletions
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;
}