diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-16 10:18:02 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-16 10:18:02 +0000 |
commit | 449a51de265cb3b4f0f5003e09fbbb030247c972 (patch) | |
tree | 86ce0c9894f8910187fd65c8d43cd366d05ba9fc /irc_commands.c | |
parent | 9fca06579d61d6360520db98092bce13d30d39ce (diff) |
Include non-away status messages in blist and whois responses. The whois
change is a complete violation of the IRC protocol but that doesn't seem
to be an uncommon thing.
Diffstat (limited to 'irc_commands.c')
-rw-r--r-- | irc_commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/irc_commands.c b/irc_commands.c index 750bbcf5..a417e0d9 100644 --- a/irc_commands.c +++ b/irc_commands.c @@ -496,6 +496,8 @@ static void irc_cmd_whois( irc_t *irc, char **cmd ) irc_reply( irc, 301, "%s :%s", u->nick, "User is offline" ); else if( u->away ) irc_reply( irc, 301, "%s :%s", u->nick, u->away ); + if( u->status_msg ) + irc_reply( irc, 333, "%s :Status: %s", u->nick, u->status_msg ); irc_reply( irc, 318, "%s :End of /WHOIS list", nick ); } |