diff mcabber/src/commands.c @ 213:4fcdbfdf7c20

[/trunk] Changeset 225 by mikael * Fix a crash when renaming to a non-7bit name (same with group name) * Move all utf-8 usage to jabglue
author mikael
date Sun, 08 May 2005 20:27:14 +0000
parents 465d98d2f8e3
children 73f6ce668ba8
line wrap: on
line diff
--- a/mcabber/src/commands.c	Sun May 08 19:59:04 2005 +0000
+++ b/mcabber/src/commands.c	Sun May 08 20:27:14 2005 +0000
@@ -149,7 +149,6 @@
 // the network.
 void send_message(char *msg)
 {
-  char *buffer;
   const char *jid;
       
   if (!current_buddy) {
@@ -167,9 +166,7 @@
   hk_message_out(jid, 0, msg);
 
   // Network part
-  buffer = utf8_encode(msg);
-  jb_send_msg(jid, buffer);
-  free(buffer);
+  jb_send_msg(jid, msg);
 }
 
 //  process_line(line)