From: Luke Fitzgerald Date: Wed, 16 Jun 2010 16:12:20 +0000 (+0100) Subject: Remove any existing switchboard sessions when we (re)signon X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b313bc3cdefe72f038f5f4e6b163e1294c95ea1e;p=quix0rs-gnu-social.git Remove any existing switchboard sessions when we (re)signon --- 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