diff libpurple/protocols/msn/notification.c @ 17187:0c7d4f561b04

A couple of tweaks to open Hotmail inbox
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 20 May 2007 12:56:40 +0000
parents 3e463ddf18f7
children 513ee58e7305 0f6747c5dcc2
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Sun May 20 08:41:53 2007 +0000
+++ b/libpurple/protocols/msn/notification.c	Sun May 20 12:56:40 2007 +0000
@@ -592,6 +592,10 @@
 qng_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd)
 {
 	static int count = 0;
+	MsnSession *session = cmdproc->session;
+
+	if (session->passport_info.file == NULL)
+		return;
 
 	if (count++ < 26)
 		return;