1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +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 -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);