diff src/protocols/msn/msn.c @ 3293:3e37cfdcca73

[gaim-migrate @ 3311] I think this works committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 31 May 2002 07:35:51 +0000
parents 86fdd015f40e
children f50db65fda5f
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Fri May 31 06:32:14 2002 +0000
+++ b/src/protocols/msn/msn.c	Fri May 31 07:35:51 2002 +0000
@@ -354,6 +354,10 @@
 	char buf[MSN_BUF_LEN];
 	struct msn_data *md = gc->proto_data;
 
+	if (strchr(gc->username, '@') != strstr(gc->username, "@hotmail.com"))
+		/* We can only get Hotmail notification from hotmail users */
+		return;
+
 	if (!md->passport) {
 		g_snprintf(buf, sizeof(buf), "URL %d INBOX\r\n", ++md->trId);