changeset 2049:44f762499309

[gaim-migrate @ 2059] i will have my revenge committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 17 Jun 2001 20:22:34 +0000
parents 3366311426df
children ddd696ccb46b
files src/oscar.c
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/oscar.c	Sun Jun 17 08:37:44 2001 +0000
+++ b/src/oscar.c	Sun Jun 17 20:22:34 2001 +0000
@@ -91,6 +91,8 @@
 	GSList *direct_ims;
 	GSList *getfiles;
 	GSList *hasicons;
+
+	gboolean ewarmenhoven;
 };
 
 struct chat_connection {
@@ -1948,6 +1950,7 @@
 	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;
 
@@ -1958,6 +1961,16 @@
 	infotype = (unsigned short)va_arg(ap, unsigned int);
 	va_end(ap);
 
+	if (!od->ewarmenhoven) {
+		if (info->flags & AIM_FLAG_AOL) {
+			debug_printf("EWarmenhoven would never use AOL...\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)));
@@ -2017,6 +2030,9 @@
 		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;
 }