mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
msgs window was irc server specific - messages from other irc servers were
displayed in active window. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@248 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
8c06612a28
commit
59d47df22d
@ -231,6 +231,10 @@ WINDOW_REC *window_find_closest(void *server, const char *name, int level)
|
||||
window = window_find_level(server, level);
|
||||
if (window != NULL) return window;
|
||||
|
||||
/* match by level - ignore server */
|
||||
window = window_find_level(NULL, level);
|
||||
if (window != NULL) return window;
|
||||
|
||||
/* fallback to active */
|
||||
return active_win;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user