]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed a bug where sessions were not cleared
authorLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Tue, 29 Jun 2010 00:03:19 +0000 (17:03 -0700)
committerLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Tue, 29 Jun 2010 00:03:19 +0000 (17:03 -0700)
plugins/Msn/extlib/phpmsnclass/msn.class.php

index 1c04ef7fc1263d37a53776b3ddb7cf74d040108e..2c0c765f3894609973e700f41e8e556b84ebfe82 100644 (file)
@@ -949,7 +949,7 @@ class MSN {
                 break;\r
             case 'BYE':\r
                 $this->debug_message("*** Quit for BYE");\r
-                $this->endSBSession();\r
+                $this->endSBSession($socket);\r
                 break;\r
             case 'USR':\r
                 // SB: <<< USR {id} OK {user} {alias}\r
@@ -2742,7 +2742,7 @@ X-OIM-Sequence-Num: 1
             $Attrib = '';\r
             if (is_array($Val[':'])) {\r
                 foreach ($Val[':'] as $AttribName => $AttribVal)\r
-                $Attrib .= " $AttribName = '$AttribVal'";\r
+                    $Attrib .= " $AttribName = '$AttribVal'";\r
             }\r
             if ($Key{0} == '!') {\r
                 //List Type Define\r