libpurple/protocols/gg/servconn.c

branch
soc.2013.gobjectification.plugins
changeset 36974
77e5418ff1ba
parent 36744
a7c26ee6e466
parent 35145
01ef7274b440
child 36981
bc6040e3f9c8
--- a/libpurple/protocols/gg/servconn.c	Sun Jan 05 17:32:10 2014 +0530
+++ b/libpurple/protocols/gg/servconn.c	Sun Jan 12 16:17:47 2014 +0530
@@ -97,3 +97,10 @@
 	return ggp_list_copy_to_slist_deep(global_data.server_history,
 		(GCopyFunc)g_strdup, NULL);
 }
+
+void
+ggp_servconn_remote_disconnect(PurpleConnection *gc)
+{
+	purple_debug_info("gg", "Server remotely closes connection");
+	purple_account_disconnect(purple_connection_get_account(gc));
+}

mercurial