kike: remember to send back AWAY messages
This commit is contained in:
parent
a5953147c3
commit
3b69dfb583
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue