diff libpurple/protocols/silc/silc.c @ 32708:10e5000326a5

Convert code to use the purple_account accessor functions.
author andrew.victor@mxit.com
date Sat, 01 Oct 2011 21:04:35 +0000
parents f75041cb3fec
children 2ec94166be43
line wrap: on
line diff
--- a/libpurple/protocols/silc/silc.c	Sat Oct 01 18:21:43 2011 +0000
+++ b/libpurple/protocols/silc/silc.c	Sat Oct 01 21:04:35 2011 +0000
@@ -555,7 +555,7 @@
 	char *username, *hostname, *realname, **up;
 	int i;
 
-	gc = account->gc;
+	gc = purple_account_get_connection(account);
 	if (!gc)
 		return;
 	purple_connection_set_protocol_data(gc, NULL);