# HG changeset patch # User Rob Flynn # Date 953805211 0 # Node ID d5119dc662843e2c64d24ef4803a66f5981840ed # Parent 42caca2f964fa281c2327d7e69104d16529a7139 [gaim-migrate @ 23] Small fix to the lagometer committer: Tailor Script diff -r 42caca2f964f -r d5119dc66284 ChangeLog --- a/ChangeLog Thu Mar 23 07:52:04 2000 +0000 +++ b/ChangeLog Thu Mar 23 09:53:31 2000 +0000 @@ -7,6 +7,7 @@ * GNOME Applet support works better (thanks to Eric Warmenhoven for the patch) * Support for displaying true type fonts + * Fixed the Lag-Meter Option version 0.9.11: * Strike Tag Support :-) diff -r 42caca2f964f -r d5119dc66284 src/server.c --- a/src/server.c Thu Mar 23 07:52:04 2000 +0000 +++ b/src/server.c Thu Mar 23 09:53:31 2000 +0000 @@ -82,7 +82,8 @@ time(&t); gettimeofday(&lag_tv, NULL); - serv_send_im(current_user->username, LAGOMETER_STR, 1); + if (!(general_options & OPT_GEN_SHOW_LAGMETER)) + serv_send_im(current_user->username, LAGOMETER_STR, 1); if (report_idle != IDLE_GAIM) return TRUE; @@ -453,6 +454,8 @@ nname = g_strdup(normalize(name)); if (!strcasecmp(normalize(name), nname)) { + if (!(general_options & OPT_GEN_SHOW_LAGMETER)) + { if (!strcmp(message, LAGOMETER_STR)) { struct timeval tv; int ms; @@ -467,7 +470,7 @@ g_free(nname); return; } - + } } g_free(nname);