diff -r e71e6453b50e -r d01cef6d0e46 plugins/jabber/jabber.c --- a/plugins/jabber/jabber.c Thu Apr 05 19:43:05 2001 +0000 +++ b/plugins/jabber/jabber.c Fri Apr 06 19:10:28 2001 +0000 @@ -549,8 +549,11 @@ p->from->resource, msg); write_to_conv(b, buf, WFLAG_SYSTEM, NULL); } - } else if (msg) - serv_got_chat_in(GJ_GC(j), b->id, p->from->resource, 0, msg); + } else if (msg) { + char buf[8192]; + g_snprintf(buf, sizeof(buf), "%s", msg); + serv_got_chat_in(GJ_GC(j), b->id, p->from->resource, 0, buf); + } /* } else if (msg) { write_to_conv(b, msg, WFLAG_SYSTEM, NULL);