changeset 8501:9f1678878dc8

[gaim-migrate @ 9237] Should fix a crash Tim told me about when you receive offline ICQ messages. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 25 Mar 2004 05:11:24 +0000
parents a6748565835a
children 48112dfe1179
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Thu Mar 25 05:04:02 2004 +0000
+++ b/src/protocols/oscar/oscar.c	Thu Mar 25 05:11:24 2004 +0000
@@ -2685,10 +2685,7 @@
 				gchar *tmp;
 
 				/* If the message came from an ICQ user then escape any HTML */
-				if (isdigit(userinfo->sn[0]))
-					tmp = gaim_escape_html(msg2[0]);
-				else
-					tmp = g_strdup(msg2[0]);
+				tmp = gaim_escape_html(msg2[0]);
 
 				if (t) { /* This is an offline message */
 					/* I think this timestamp is in UTC, or something */