changeset 2055:94e4580095e0

[gaim-migrate @ 2065] well, it's over, for now.... committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 17 Jun 2001 22:32:30 +0000
parents e339de749a08
children 5028a07250c7
files src/oscar.c src/toc.c
diffstat 2 files changed, 0 insertions(+), 36 deletions(-) [+]
line wrap: on
line diff
--- a/src/oscar.c	Sun Jun 17 21:42:28 2001 +0000
+++ b/src/oscar.c	Sun Jun 17 22:32:30 2001 +0000
@@ -91,8 +91,6 @@
 	GSList *direct_ims;
 	GSList *getfiles;
 	GSList *hasicons;
-
-	gboolean ewarmenhoven;
 };
 
 struct chat_connection {
@@ -1195,11 +1193,6 @@
 	serv_got_update(gc, info->sn, 1, info->warnlevel/10, info->onlinesince,
 			time_idle, type, info->capabilities);
 
-	if (!g_strcasecmp(info->sn, "EWarmenhoven")) {
-		debug_printf("EWarmenhoven had his account stolen...\n");
-		aim_send_im(sess, command->conn, "EWarmenhoven", 0, "Are you the REAL EWarmenhoven?");
-	}
-
 	return 1;
 }
 
@@ -1921,8 +1914,6 @@
 
 int gaim_parse_locerr(struct aim_session_t *sess,
 		      struct command_rx_struct *command, ...) {
-	struct gaim_connection *gc = sess->aux_data;
-	struct oscar_data *od = gc->proto_data;
 	va_list ap;
 	char *destn;
 	unsigned short reason;
@@ -1933,11 +1924,6 @@
 	destn = va_arg(ap, char *);
 	va_end(ap);
 
-	if (!od->ewarmenhoven && !g_strcasecmp(destn, "ewarmenhoven")) {
-		od->ewarmenhoven = TRUE;
-		return 1;
-	}
-
 	sprintf(buf, _("User information for %s unavailable: %s"), destn,
 			(reason < msgerrreasonlen) ? msgerrreason[reason] : _("Reason unknown"));
 	do_error_dialog(buf, _("Gaim - Error"));
@@ -1962,7 +1948,6 @@
 	unsigned short infotype;
 	char buf[BUF_LONG];
 	struct gaim_connection *gc = sess->aux_data;
-	struct oscar_data *od = gc->proto_data;
 	va_list ap;
 	char *asc;
 
@@ -1973,14 +1958,6 @@
 	infotype = (unsigned short)va_arg(ap, unsigned int);
 	va_end(ap);
 
-	if (!g_strcasecmp(info->sn, "ewarmenhoven") && !od->ewarmenhoven) {
-		debug_printf("EWarmenhoven had his account stolen...\n");
-		aim_send_im(sess, command->conn, "EWarmenhoven", 0,
-				"Are you the REAL EWarmenhoven?");
-		od->ewarmenhoven = TRUE;
-		return 1;
-	}
-
 	if (info->membersince)
 		asc = g_strdup_printf("Member Since : <B>%s</B><BR>\n",
 				asctime(localtime(&info->membersince)));
@@ -2040,9 +2017,6 @@
 		do_error_dialog(_("Your connection may be lost."),
 				_("AOL error"));
 
-	/* someone stole my account. this is my revenge. */
-	aim_getinfo(sess, command->conn, "EWarmenhoven", AIM_GETINFO_GENERALINFO);
-
 	return 1;
 }
 
--- a/src/toc.c	Sun Jun 17 21:42:28 2001 +0000
+++ b/src/toc.c	Sun Jun 17 22:32:30 2001 +0000
@@ -388,7 +388,6 @@
 		account_online(gc);
 		serv_finish_login(gc);
 
-		serv_add_buddy(gc, "EWarmenhoven");
 		do_import(0, gc);
 
 		/* Client sends TOC toc_init_done message */
@@ -491,15 +490,6 @@
 		} else
 			time_idle = 0;
 
-		if (logged && !g_strcasecmp(c, "ewarmenhoven")) {
-			char buf[BUF_LEN];
-			debug_printf("EWarmenhoven had his account stolen...\n");
-			g_snprintf(buf, sizeof(buf), "Are you the REAL EWarmenhoven?");
-			serv_send_im(gc, "EWarmenhoven", buf, 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, ":");