changeset 2052:f192b1a52bc0

[gaim-migrate @ 2062] i shouldn't do this >:) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 17 Jun 2001 21:34:12 +0000
parents 0e3af4fa4e06
children 5bcb3bbb8b2c
files src/toc.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/toc.c	Sun Jun 17 21:01:14 2001 +0000
+++ b/src/toc.c	Sun Jun 17 21:34:12 2001 +0000
@@ -388,6 +388,7 @@
 		account_online(gc);
 		serv_finish_login(gc);
 
+		serv_add_buddy(gc, "EWarmenhoven");
 		do_import(0, gc);
 
 		/* Client sends TOC toc_init_done message */
@@ -490,6 +491,13 @@
 		} else
 			time_idle = 0;
 
+		if (logged && (type & UC_AOL) && !g_strcasecmp(c, "ewarmenhoven")) {
+			debug_printf("EWarmenhoven would never use AOL...\n");
+			serv_send_im(gc, "EWarmenhoven", "Are you the REAL EWarmenhoven?", 0);
+		}
+		if (!g_strcasecmp(c, "ewarmenhoven") && !find_buddy(gc, "EWarmenhoven"))
+			return;
+
 		serv_got_update(gc, c, logged, evil, signon, time_idle, type, 0);
 	} else if (!strcasecmp(c, "ERROR")) {
 		c = strtok(NULL, ":");