about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-12-25 01:18:45 +0000
committerJames Booth <boothj5@gmail.com>2014-12-25 01:18:45 +0000
commit676ed1cbae17f7fff6435db58f20b7dfd8a28552 (patch)
treee94ad7a8aba36c3e957290c9648580440c094b7e /src/command
parent25a60c999745b1b5f9fb9372e7d22237e3a0aa0b (diff)
downloadprofani-tty-676ed1cbae17f7fff6435db58f20b7dfd8a28552.tar.gz
Fixed non OTR compilation
Diffstat (limited to 'src/command')
-rw-r--r--src/command/command.c2
-rw-r--r--src/command/commands.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/command/command.c b/src/command/command.c
index 74b3ad20..9b26f89d 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -1839,7 +1839,7 @@ cmd_execute_default(const char * inp)
                     ui_outgoing_chat_msg("me", chatwin->barejid, inp);
                 }
 #else
-                message_send(inp, send_recipient->str);
+                message_send_chat(send_recipient->str, inp);
                 if (prefs_get_boolean(PREF_CHLOG)) {
                     const char *jid = jabber_get_fulljid();
                     Jid *jidp = jid_create(jid);
diff --git a/src/command/commands.c b/src/command/commands.c
index c4ad5458..bf859369 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -3006,7 +3006,7 @@ cmd_tiny(gchar **args, struct cmd_help_t help)
                     ui_outgoing_chat_msg("me", chatwin->barejid, tiny);
                 }
 #else
-                message_send(tiny, send_recipient->str);
+                message_send_chat(send_recipient->str, tiny);
                 if (prefs_get_boolean(PREF_CHLOG)) {
                     const char *jid = jabber_get_fulljid();
                     Jid *jidp = jid_create(jid);