Mercurial > pidgin
diff src/server.c @ 9058:cde9fb3546ed
[gaim-migrate @ 9834]
Removed OPT_PROTO_CORRECT_TIME and moved some functionality
out of the core and into oscar.c and toc.c
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 25 May 2004 03:54:12 +0000 |
parents | 8f838ae3e710 |
children | f0be63d6d192 |
line wrap: on
line diff
--- a/src/server.c Tue May 25 02:10:48 2004 +0000 +++ b/src/server.c Tue May 25 03:54:12 2004 +0000 @@ -147,11 +147,8 @@ account = gaim_connection_get_account(gc); - if (gaim_account_get_user_info(account) != NULL) { - /* buf = gaim_strdup_withhtml(gc->user->user_info); */ + if (gaim_account_get_user_info(account) != NULL) serv_set_info(gc, gaim_account_get_user_info(account)); - /* g_free(buf); */ - } if (gc->idle_timer > 0) gaim_timeout_remove(gc->idle_timer); @@ -159,12 +156,6 @@ gc->idle_timer = gaim_timeout_add(20000, check_idle, gc); serv_touch_idle(gc); - /* Move this hack into toc.c */ - if (prpl_info->options & OPT_PROTO_CORRECT_TIME) - serv_add_buddy(gc, - gaim_account_get_username(gaim_connection_get_account(gc)), - NULL); - update_keepalive(gc, TRUE); } @@ -1066,20 +1057,6 @@ account = gaim_connection_get_account(gc); b = gaim_find_buddy(account, name); - if (signon && (GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl)->options & - OPT_PROTO_CORRECT_TIME)) { - - char *tmp = g_strdup(gaim_normalize(account, name)); - if (!gaim_utf8_strcasecmp(tmp, - gaim_normalize(account, gaim_account_get_username(account)))) { - - gc->evil = evil; - gc->login_time_official = signon; - /*update_idle_times();*/ - } - g_free(tmp); - } - if (!b) { gaim_debug(GAIM_DEBUG_ERROR, "server", "No such buddy: %s\n", name); return;