diff options
Diffstat (limited to 'src/plugins/scripts/tcl/weechat-tcl.c')
-rw-r--r-- | src/plugins/scripts/tcl/weechat-tcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/tcl/weechat-tcl.c b/src/plugins/scripts/tcl/weechat-tcl.c index b3350e191..2f0058ee2 100644 --- a/src/plugins/scripts/tcl/weechat-tcl.c +++ b/src/plugins/scripts/tcl/weechat-tcl.c @@ -82,7 +82,7 @@ weechat_tcl_exec (struct t_plugin_script *script, if (argv) { - for (i = 0; argv[i] && (i<6); i++) + for (i = 0; argv[i]; i++) { Tcl_DStringAppend (&ds, " \"", -1); Tcl_DStringAppend (&ds, argv[i], -1); |