msn.NotificationClient.logOut(self)
def connectionLost(self, reason):
- print "NotificationClient.connectionLost!!!"
if not self.factory.msncon: return # If we called logOut
def wait():
LogEvent(INFO, self.factory.msncon.ident)
LogEvent(INFO, self.ident)
del self.msncon
self.transport.disconnect()
+
+ def connectionLost(self, reason):
+ self.msncon = None
+ self.msnobj = None
+ self.ident = (self.ident[0], self.ident[1] + " Disconnected!")
def loggedIn(self):
LogEvent(INFO, self.ident)