Don't show message when inactive chat

This commit is contained in:
James Booth
2012-02-09 00:02:03 +00:00
parent c8bf654e2c
commit f48d22150d

View File

@@ -61,7 +61,7 @@ void close_win(void)
int in_chat(void) int in_chat(void)
{ {
return (curr_win != 0); return ((curr_win != 0) && (strcmp(wins[curr_win].from, "") != 0));
} }
void get_recipient(char *recipient) void get_recipient(char *recipient)