# HG changeset patch # User Eric Warmenhoven # Date 991088472 0 # Node ID 038aeba90fd67607c15bcfdf36bc9863c0e19157 # Parent 42584a17de9add9158bd2c4ab624d968f45960af [gaim-migrate @ 1918] ah ha committer: Tailor Script diff -r 42584a17de9a -r 038aeba90fd6 plugins/jabber/jabber.c --- a/plugins/jabber/jabber.c Mon May 28 21:21:23 2001 +0000 +++ b/plugins/jabber/jabber.c Mon May 28 22:21:12 2001 +0000 @@ -684,7 +684,7 @@ p->from->resource, msg); write_to_conv(jc->b, buf, WFLAG_SYSTEM, NULL, time(NULL)); } - } else if (msg) { + } else if (jc->b && msg) { char buf[8192]; g_snprintf(buf, sizeof(buf), "%s", msg); serv_got_chat_in(GJ_GC(j), jc->b->id, p->from->resource, 0, buf, time(NULL));