summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-02-16 08:04:58 +0100
committerSébastien Helleu <flashcode@flashtux.org>2020-02-16 08:04:58 +0100
commitc6e9e18aaae175dd69bba9a579a53586e33bc90c (patch)
tree3b42b65b5075eaad63c9f7da74f6486c437f8828 /src/plugins
parent3fc0f1957eae03fbb5dbf9ae961f5ffe078d0956 (diff)
downloadweechat-c6e9e18aaae175dd69bba9a579a53586e33bc90c.zip
script: fix unexpected display of scripts list in buffer with command /script list -i
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/script/script-action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/script/script-action.c b/src/plugins/script/script-action.c
index 09892c60e..bb79f4534 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);