changeset 27172:48df71b5cfd1

Update the Pager server at login to the new default if "" or old default.
author Paul Aurich <paul@darkrain42.org>
date Thu, 25 Jun 2009 02:23:40 +0000
parents bd47fd3f3b6b
children a9fdf9327652
files libpurple/protocols/yahoo/yahoo.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c	Wed Jun 24 18:42:47 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Thu Jun 25 02:23:40 2009 +0000
@@ -3346,7 +3346,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);
 }