Skip to content

Commit

Permalink
script: fix unexpected display of scripts list in buffer with command…
Browse files Browse the repository at this point in the history
… /script list -i
  • Loading branch information
flashcode committed Feb 16, 2020
1 parent 3fc0f19 commit c6e9e18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog.adoc
Expand Up @@ -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::
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/script/script-action.c
Expand Up @@ -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);
Expand Down

0 comments on commit c6e9e18

Please sign in to comment.