diff src/server.c @ 10751:bf5e48215158

[gaim-migrate @ 12354] Get rid of serv_finish_login because it's dumb. Also fix some problems with gg and silc that I introduced yesterday. I didn't grep for places where account->password was accessed directly. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 27 Mar 2005 17:50:35 +0000
parents ca69d597a5e2
children d83f745c997b
line wrap: on
line diff
--- a/src/server.c	Sun Mar 27 17:39:22 2005 +0000
+++ b/src/server.c	Sun Mar 27 17:50:35 2005 +0000
@@ -56,26 +56,6 @@
 		check_idle(gc);
 }
 
-void serv_finish_login(GaimConnection *gc)
-{
-	GaimPluginProtocolInfo *prpl_info = NULL;
-	GaimAccount *account;
-
-	if (gc != NULL && gc->prpl != NULL)
-		prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl);
-
-	account = gaim_connection_get_account(gc);
-
-	if (gaim_account_get_user_info(account) != NULL)
-		serv_set_info(gc, gaim_account_get_user_info(account));
-
-	if (gc->idle_timer > 0)
-		gaim_timeout_remove(gc->idle_timer);
-
-	gc->idle_timer = gaim_timeout_add(20000, check_idle, gc);
-	serv_touch_idle(gc);
-}
-
 /* This should return the elapsed time in seconds in which Gaim will not send
  * typing notifications.
  * if it returns zero, it will not send any more typing notifications
@@ -1237,7 +1217,7 @@
 void serv_send_file(GaimConnection *gc, const char *who, const char *file)
 {
 	GaimPluginProtocolInfo *prpl_info = NULL;
-	
+
 	if (gc != NULL && gc->prpl != NULL)
 		prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl);