aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-03-20 18:03:18 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2010-03-20 18:03:18 +0000
commit81ee561d520e38535fb6947ac0e3fba808e6de4b (patch)
tree122a46d40947e854fa643938c89ae7a6889eb52a /irc_commands.c
parent33304688895db5751f9ef087ff92b0a9dc284627 (diff)
parent0baed0da940c0d82280a5674d7fa8ad06d449384 (diff)
Merging head. Most changes are not so relevant because they're to IM
modules.
Diffstat (limited to 'irc_commands.c')
-rw-r--r--irc_commands.c2
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 );
}