src/server.c

changeset 12082
acfc139cc804
parent 12024
5a87b77fcc3c
child 12114
8c11503cd1d2
--- a/src/server.c	Mon Nov 14 07:26:01 2005 +0000
+++ b/src/server.c	Mon Nov 14 07:31:44 2005 +0000
@@ -681,6 +681,9 @@
 		away_msg = gaim_value_get_string(
 			gaim_status_get_attr_value(status, "message"));
 
+		if ((away_msg == NULL) || (*away_msg == '\0'))
+			return;
+
 		/* apply default fonts and colors */
 		/* TODO: Do we even need this? */
 		tmpmsg = stylize(away_msg, MSG_LEN);

mercurial