diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-08-04 08:17:34 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-08-04 08:17:34 +0200 |
commit | 3b69dfb583a15ad42cf155c3df25ad0a56350655 (patch) | |
tree | dd3cb54e2af1cae7fe29f139ae88a6a16c3abd14 /src/kike.c | |
parent | a5953147c3df8d8bb0b57ed2feb07c125143b84a (diff) | |
download | xK-3b69dfb583a15ad42cf155c3df25ad0a56350655.tar.gz xK-3b69dfb583a15ad42cf155c3df25ad0a56350655.tar.xz xK-3b69dfb583a15ad42cf155c3df25ad0a56350655.zip |
kike: remember to send back AWAY messages
Diffstat (limited to 'src/kike.c')
-rw-r--r-- | src/kike.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |