Mercurial > pidgin
comparison src/server.c @ 171:789c792ed14b
[gaim-migrate @ 181]
Let people know about --enable-plugins, made it so the Lag-O-Meter was doing
its thing only when it was on, and something else. Don't ask me what, I don't
remember.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Tue, 25 Apr 2000 04:29:04 +0000 |
| parents | 41bd1cd48571 |
| children | f2d631f867a3 |
comparison
equal
deleted
inserted
replaced
| 170:e67c56a07f52 | 171:789c792ed14b |
|---|---|
| 80 update_all_buddies(); | 80 update_all_buddies(); |
| 81 | 81 |
| 82 time(&t); | 82 time(&t); |
| 83 | 83 |
| 84 gettimeofday(&lag_tv, NULL); | 84 gettimeofday(&lag_tv, NULL); |
| 85 if (!(general_options & OPT_GEN_SHOW_LAGMETER)) | 85 if (general_options & OPT_GEN_SHOW_LAGMETER) |
| 86 serv_send_im(current_user->username, LAGOMETER_STR, 0); | 86 serv_send_im(current_user->username, LAGOMETER_STR, 0); |
| 87 | 87 |
| 88 if (report_idle != IDLE_GAIM) | 88 if (report_idle != IDLE_GAIM) |
| 89 return TRUE; | 89 return TRUE; |
| 90 | 90 |
| 486 return; | 486 return; |
| 487 #endif | 487 #endif |
| 488 | 488 |
| 489 nname = g_strdup(normalize(name)); | 489 nname = g_strdup(normalize(name)); |
| 490 | 490 |
| 491 if (!strcasecmp(normalize(name), nname)) { | 491 if (!strcasecmp(normalize(current_user->username), nname)) { |
| 492 if (!(general_options & OPT_GEN_SHOW_LAGMETER)) | |
| 493 { | |
| 494 if (!strcmp(message, LAGOMETER_STR)) { | 492 if (!strcmp(message, LAGOMETER_STR)) { |
| 495 struct timeval tv; | 493 struct timeval tv; |
| 496 int ms; | 494 int ms; |
| 497 | 495 |
| 498 gettimeofday(&tv, NULL); | 496 gettimeofday(&tv, NULL); |
| 503 | 501 |
| 504 update_lagometer(ms); | 502 update_lagometer(ms); |
| 505 g_free(nname); | 503 g_free(nname); |
| 506 return; | 504 return; |
| 507 } | 505 } |
| 508 } | |
| 509 } | 506 } |
| 510 g_free(nname); | 507 g_free(nname); |
| 511 | 508 |
| 512 cnv = find_conversation(name); | 509 cnv = find_conversation(name); |
| 513 if (away) away = WFLAG_AUTO; | 510 if (away) away = WFLAG_AUTO; |
