libpurple/dbus-useful.c

changeset 32623
547eacef0b63
parent 15884
4de1981757fc
child 34583
476c39afcaae
--- a/libpurple/dbus-useful.c	Sat Oct 01 17:10:45 2011 +0000
+++ b/libpurple/dbus-useful.c	Sat Oct 01 18:21:43 2011 +0000
@@ -25,7 +25,7 @@
 		if (who && strcmp(purple_normalize(NULL, purple_account_get_username(account)), who))
 			continue;
 
-		if (protocol_id && strcmp(account->protocol_id, protocol_id))
+		if (protocol_id && strcmp(purple_account_get_protocol_id(account), protocol_id))
 			continue;
 
 		if (account_test && !account_test(account))

mercurial