libpurple/protocols/yahoo/yahoo.c

branch
release-2.5.8
changeset 25780
e5314ace5705
parent 25778
1c726d419ae6
--- a/libpurple/protocols/yahoo/yahoo.c	Fri Jun 26 00:15:30 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Fri Jun 26 00:25:56 2009 +0000
@@ -2643,7 +2643,8 @@
 
 	server = purple_account_get_string(account, "server", YAHOO_PAGER_HOST);
 
-	if (strcmp(server, "scs.yahoo.com") == 0)
+	if (*server == '\0' || g_str_equal(server, "scs.yahoo.com") ||
+			g_str_equal(server, "scs.msg.yahoo.com"))
 		purple_account_set_string(account, "server", YAHOO_PAGER_HOST);
 }
 

mercurial