From 1e2ef973348a58b0ba58eb020cc91e4f41a1d10e Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 10 Feb 2015 21:26:59 +0000 Subject: [PATCH] Fixed parameter order for /tiny in private and group chat fixes #502 --- src/command/commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command/commands.c b/src/command/commands.c index 3c1a0980..9e9191d4 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -3116,11 +3116,11 @@ cmd_tiny(gchar **args, struct cmd_help_t help) #endif } else if (win_type == WIN_PRIVATE) { ProfPrivateWin *privatewin = wins_get_current_private(); - message_send_private(tiny, privatewin->fulljid); + message_send_private(privatewin->fulljid, tiny); ui_outgoing_private_msg("me", privatewin->fulljid, tiny); } else if (win_type == WIN_MUC) { ProfMucWin *mucwin = wins_get_current_muc(); - message_send_groupchat(tiny, mucwin->roomjid); + message_send_groupchat(mucwin->roomjid, tiny); } free(tiny); } else {