mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 03:40:16 +02:00
Merge pull request #999 from ailin-nemui/mad-protocol
do not touch uninitialised protocols on item restore
This commit is contained in:
commit
a25b4e5db2
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ static void sig_layout_restore_item(WINDOW_REC *window, const char *type,
|
|||
restore_win = window;
|
||||
|
||||
protocol = chat_protocol_find(chat_type);
|
||||
if (protocol == NULL)
|
||||
if (protocol == NULL || protocol->not_initialized)
|
||||
window_bind_add(window, tag, name);
|
||||
else if (protocol->query_create != NULL)
|
||||
protocol->query_create(tag, name, TRUE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue