Ensure that SHOW_AWAY_ONCE doesn't hide away status in /whois output, by

clearing last_away_msg when the 311 whois reply numeric is recieved.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@95 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2010-09-05 09:03:32 +00:00
parent d6c105861c
commit 3c0e23a7c5
2 changed files with 6 additions and 1 deletions

View File

@@ -788,6 +788,9 @@ void numbered_command(char *from, int comm, char **ArgList)
#endif
new_free(&userhost);
}
/* Make sure we don't hide the /away message */
new_free(&last_away_msg);
break;
}
case 312: /* #define RPL_WHOISSERVER 312 */