changeset 2490:07ba973897e7

[gaim-migrate @ 2503] use username for oscar and toc committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 12 Oct 2001 17:35:22 +0000
parents 39937df8a099
children 75c62304c489
files plugins/lagmeter.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/lagmeter.c	Fri Oct 12 07:17:48 2001 +0000
+++ b/plugins/lagmeter.c	Fri Oct 12 17:35:22 2001 +0000
@@ -99,8 +99,7 @@
 				g_free(buf);
 			} else
 				serv_send_im(my_gc, my_gc->username, m, 1);
-		} else if ((my_gc->protocol <= PROTO_OSCAR || my_gc->protocol == PROTO_IRC)
-				&& strcmp(my_gc->username, my_gc->displayname))
+		} else if (my_gc->protocol == PROTO_IRC && strcmp(my_gc->username, my_gc->displayname))
 			serv_send_im(my_gc, my_gc->displayname, m, 1);
 		else
 			serv_send_im(my_gc, my_gc->username, m, 1);