1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-01-03 14:57:42 -05:00

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)
{
return (curr_win != 0);
return ((curr_win != 0) && (strcmp(wins[curr_win].from, "") != 0));
}
void get_recipient(char *recipient)