mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02: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
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue