From b313bc3cdefe72f038f5f4e6b163e1294c95ea1e Mon Sep 17 00:00:00 2001 From: Luke Fitzgerald Date: Wed, 16 Jun 2010 17:12:20 +0100 Subject: [PATCH] Remove any existing switchboard sessions when we (re)signon --- plugins/Msn/extlib/phpmsnclass/msn.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/Msn/extlib/phpmsnclass/msn.class.php b/plugins/Msn/extlib/phpmsnclass/msn.class.php index 3d33340b22..6dc1c49826 100644 --- a/plugins/Msn/extlib/phpmsnclass/msn.class.php +++ b/plugins/Msn/extlib/phpmsnclass/msn.class.php @@ -2,6 +2,7 @@ /* phpmsnclass ver 2.0s +Luke Fitzgerald Based on MSN class ver 2.0 by Tommy Wu, Ricky Su License: GPL @@ -344,6 +345,10 @@ class MSN { /* FIXME Don't implement the signon as a loop or we could hang * the queue handler! */ $this->debug_message('*** Trying to connect to MSN network'); + + // Remove any remaining switchboard sessions + $this->switchBoardSessions = array(); + $this->switchBoardSessionLookup = array(); while (true) { // Connect