diff options
author | Paul Fariello <paul@fariello.eu> | 2018-03-22 22:21:15 +0220 |
---|---|---|
committer | Paul Fariello <paul@fariello.eu> | 2018-09-05 13:50:59 +0200 |
commit | 925cd488c1397c960bc1eec0e441f073d887162e (patch) | |
tree | 036cf6684652e9ed463be3b5fe2750f7d210ffac /src/command/cmd_funcs.c | |
parent | c9f6a78f574ce2a90ae7871a08a5ddcfb9ab7270 (diff) | |
download | profani-tty-925cd488c1397c960bc1eec0e441f073d887162e.tar.gz |
Handle simple execution
Tested with ping from biboumi
Diffstat (limited to 'src/command/cmd_funcs.c')
-rw-r--r-- | src/command/cmd_funcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 2e606ef5..dc112d85 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -7509,9 +7509,9 @@ cmd_command_exec(ProfWin *window, const char *const command, gchar **args) ProfMucWin *mucwin = (ProfMucWin*)window; - iq_command_exec(mucwin->roomjid, args[0]); + iq_command_exec(mucwin->roomjid, args[1]); - cons_show("Execute %s...", args[0]); + cons_show("Execute %s...", args[1]); return TRUE; } |