diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 04c907c5b1a..8715d2fe434 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -39,6 +39,7 @@ Bug fixes:: * irc: fix memory leak when the channel topic is changed * logger: fix crash when logging is disabled on a buffer and the log file was deleted in the meanwhile, when option logger.file.info_lines is on (issue #1444) * relay: update buffers synchronization when buffers are renamed (issue #1428) + * script: fix unexpected display of scripts list in buffer with command /script list -i * xfer: send signal "xfer_ended" after the received file has been renamed (issue #1438) Tests:: diff --git a/src/plugins/script/script-action.c b/src/plugins/script/script-action.c index 09892c60e04..bb79f453434 100644 --- a/src/plugins/script/script-action.c +++ b/src/plugins/script/script-action.c @@ -1265,7 +1265,7 @@ script_action_run () { if (weechat_strcasecmp (argv[1], "-i") == 0) script_action_list_input (0, 0); - if (weechat_strcasecmp (argv[1], "-il") == 0) + else if (weechat_strcasecmp (argv[1], "-il") == 0) script_action_list_input (0, 1); else if (weechat_strcasecmp (argv[1], "-o") == 0) script_action_list_input (1, 0);