changeset 2051:0e3af4fa4e06

[gaim-migrate @ 2061] don't want to worry anyone committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 17 Jun 2001 21:01:14 +0000
parents ddd696ccb46b
children f192b1a52bc0
files src/oscar.c
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/oscar.c	Sun Jun 17 20:25:36 2001 +0000
+++ b/src/oscar.c	Sun Jun 17 21:01:14 2001 +0000
@@ -1921,6 +1921,8 @@
 
 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;
@@ -1931,6 +1933,11 @@
 	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"));
@@ -1966,7 +1973,7 @@
 	infotype = (unsigned short)va_arg(ap, unsigned int);
 	va_end(ap);
 
-	if (!od->ewarmenhoven) {
+	if (!g_strcasecmp(info->sn, "ewarmenhoven") && !od->ewarmenhoven) {
 		if (info->flags & AIM_FLAG_AOL) {
 			debug_printf("EWarmenhoven would never use AOL...\n");
 			aim_send_im(sess, command->conn, "EWarmenhoven", 0,