]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Remove any existing switchboard sessions when we (re)signon
authorLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Wed, 16 Jun 2010 16:12:20 +0000 (17:12 +0100)
committerLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Wed, 16 Jun 2010 16:12:20 +0000 (17:12 +0100)
plugins/Msn/extlib/phpmsnclass/msn.class.php

index 3d33340b2284c384c9655d219bc8aab06f09a628..6dc1c49826c088a909968b526b7002a4ab02d59d 100644 (file)
@@ -2,6 +2,7 @@
 /*\r
 \r
 phpmsnclass ver 2.0s\r
+Luke Fitzgerald <lw.fitzgerald@googlemail.com>\r
 \r
 Based on MSN class ver 2.0 by Tommy Wu, Ricky Su\r
 License: GPL\r
@@ -344,6 +345,10 @@ class MSN {
         /* FIXME Don't implement the signon as a loop or we could hang\r
         *        the queue handler! */\r
         $this->debug_message('*** Trying to connect to MSN network');\r
+        \r
+        // Remove any remaining switchboard sessions\r
+        $this->switchBoardSessions = array();\r
+        $this->switchBoardSessionLookup = array();\r
 \r
         while (true) {\r
             // Connect\r