changeset 1908:038aeba90fd6

[gaim-migrate @ 1918] ah ha committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 28 May 2001 22:21:12 +0000
parents 42584a17de9a
children 8b915b0f681b
files plugins/jabber/jabber.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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));