diff 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
line wrap: on
line diff
--- a/src/server.c	Mon Apr 24 22:02:55 2000 +0000
+++ b/src/server.c	Tue Apr 25 04:29:04 2000 +0000
@@ -82,7 +82,7 @@
 	time(&t);
 
         gettimeofday(&lag_tv, NULL);
-	if (!(general_options & OPT_GEN_SHOW_LAGMETER))
+	if (general_options & OPT_GEN_SHOW_LAGMETER)
 		serv_send_im(current_user->username, LAGOMETER_STR, 0);
 
 	if (report_idle != IDLE_GAIM)
@@ -488,9 +488,7 @@
 
 	nname = g_strdup(normalize(name));
 
-	if (!strcasecmp(normalize(name), nname)) {
-	if (!(general_options & OPT_GEN_SHOW_LAGMETER))
-	{
+	if (!strcasecmp(normalize(current_user->username), nname)) {
 		if (!strcmp(message, LAGOMETER_STR)) {
 			struct timeval tv;
                         int ms;
@@ -506,7 +504,6 @@
                         return;
 		}
 	}
-	}
 	g_free(nname);
 	
         cnv = find_conversation(name);