1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +02:00

script: fix unexpected display of scripts list in buffer with command /script list -i

This commit is contained in:
Sébastien Helleu
2020-02-16 08:04:58 +01:00
parent 3fc0f1957e
commit c6e9e18aaa
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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::
+1 -1
View File
@@ -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);