about summary refs log tree commit diff stats
path: root/src/command/cmd_funcs.c
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2018-03-22 22:21:15 +0220
committerPaul Fariello <paul@fariello.eu>2018-09-05 13:50:59 +0200
commit925cd488c1397c960bc1eec0e441f073d887162e (patch)
tree036cf6684652e9ed463be3b5fe2750f7d210ffac /src/command/cmd_funcs.c
parentc9f6a78f574ce2a90ae7871a08a5ddcfb9ab7270 (diff)
downloadprofani-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.c4
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;
 }