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:
@@ -1,6 +1,8 @@
|
|||||||
[Changes 1.2c01]
|
[Changes 1.2c01]
|
||||||
|
|
||||||
* Fix up /WILN, /WILC and /WILCR. (caf).
|
* Ensure that SHOW_AWAY_ONCE doesn't hide away status in /whois output. (caf)
|
||||||
|
|
||||||
|
* Fix up /WILN, /WILC and /WILCR. (caf)
|
||||||
|
|
||||||
* Backport changes from epic5 to make recv_nick, sent_nick and sent_body
|
* Backport changes from epic5 to make recv_nick, sent_nick and sent_body
|
||||||
per-server, and apply new version of do_oops from flashback. This means
|
per-server, and apply new version of do_oops from flashback. This means
|
||||||
|
|||||||
@@ -788,6 +788,9 @@ void numbered_command(char *from, int comm, char **ArgList)
|
|||||||
#endif
|
#endif
|
||||||
new_free(&userhost);
|
new_free(&userhost);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Make sure we don't hide the /away message */
|
||||||
|
new_free(&last_away_msg);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 312: /* #define RPL_WHOISSERVER 312 */
|
case 312: /* #define RPL_WHOISSERVER 312 */
|
||||||
|
|||||||
Reference in New Issue
Block a user