Mercurial > pidgin
diff src/server.c @ 1376:730a1a19b4cc
[gaim-migrate @ 1386]
yay, no more negative online times. also no more correction_time. i hope this doesn't break things. it shoudln't, right? oh well. um. since there's no more correction_time there's no more reason to force ourselves as a buddy (right?), so that also fixes the problem of yahoo forcing you to have yourself as a buddy.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Thu, 04 Jan 2001 22:58:08 +0000 |
| parents | 1136f7896eeb |
| children | bf041349b11e |
line wrap: on
line diff
--- a/src/server.c Thu Jan 04 22:46:19 2001 +0000 +++ b/src/server.c Thu Jan 04 22:58:08 2001 +0000 @@ -111,8 +111,6 @@ time(&gc->login_time); - serv_add_buddy(gc, gc->username); - update_keepalive(gc, gc->options & OPT_USR_KEEPALV); } @@ -414,17 +412,9 @@ time_t idle, int type, gushort caps) { struct buddy *b = find_buddy(gc, name); - struct gaim_connection *g = find_gaim_conn_by_name(name); - - if (g) { - gc->correction_time = (int)(signon - g->login_time); - if (!b) { - return; - } - } if (!b) { - debug_printf("Error, no such person\n"); + debug_printf("Error, no such buddy %s\n", name); return; }
