changeset 7249:a0b66b6fa9ff

[gaim-migrate @ 7826] i'm done with this now, really. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 13 Oct 2003 18:46:05 +0000
parents aab000475910
children dee9f6aebbf3
files src/protocols/jabber/presence.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/presence.c	Mon Oct 13 15:29:40 2003 +0000
+++ b/src/protocols/jabber/presence.c	Mon Oct 13 18:46:05 2003 +0000
@@ -55,7 +55,7 @@
 
 	if(msg) {
 		gaim_markup_html_to_xhtml(msg, NULL, &stripped);
-	} else if(strcmp(state, GAIM_AWAY_CUSTOM)) {
+	} else if(!state || strcmp(state, GAIM_AWAY_CUSTOM)) {
 		/* i can't wait until someone re-writes the status/away stuff */
 		stripped = g_strdup("");
 	}