changeset 192:e9ca9146ebf1

[gaim-migrate @ 202] If you have the lagometer set so the lag is being tested, it would give you a new conversation window to yourself. Now it shouldn't. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 27 Apr 2000 19:07:18 +0000
parents 948100a8cb23
children 6af9b88e4f90
files plugins/notify.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/notify.c	Thu Apr 27 12:14:16 2000 +0000
+++ b/plugins/notify.c	Thu Apr 27 19:07:18 2000 +0000
@@ -2,6 +2,7 @@
 #include "gaim.h"
 
 #include <gtk/gtk.h>
+#include <string.h>
 
 void *handle;
 
@@ -10,6 +11,9 @@
 	struct conversation *cnv = find_conversation(*who);
 	GtkWindow *win;
 
+	if (!strcmp(*what, LAGOMETER_STR))
+		return;
+
 	if (cnv == NULL)
 		cnv = new_conversation(*who);