src/protocols/msn/msn.c

changeset 3293
e995ddbbe287
parent 3279
60aa1a4f9128
child 3294
74261923ed7d
--- 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);
 

mercurial