Fixed a bug where sessions were not cleared
This commit is contained in:
parent
8175f0f3bf
commit
bcb718cd31
@ -949,7 +949,7 @@ class MSN {
|
|||||||
break;
|
break;
|
||||||
case 'BYE':
|
case 'BYE':
|
||||||
$this->debug_message("*** Quit for BYE");
|
$this->debug_message("*** Quit for BYE");
|
||||||
$this->endSBSession();
|
$this->endSBSession($socket);
|
||||||
break;
|
break;
|
||||||
case 'USR':
|
case 'USR':
|
||||||
// SB: <<< USR {id} OK {user} {alias}
|
// SB: <<< USR {id} OK {user} {alias}
|
||||||
@ -2742,7 +2742,7 @@ X-OIM-Sequence-Num: 1
|
|||||||
$Attrib = '';
|
$Attrib = '';
|
||||||
if (is_array($Val[':'])) {
|
if (is_array($Val[':'])) {
|
||||||
foreach ($Val[':'] as $AttribName => $AttribVal)
|
foreach ($Val[':'] as $AttribName => $AttribVal)
|
||||||
$Attrib .= " $AttribName = '$AttribVal'";
|
$Attrib .= " $AttribName = '$AttribVal'";
|
||||||
}
|
}
|
||||||
if ($Key{0} == '!') {
|
if ($Key{0} == '!') {
|
||||||
//List Type Define
|
//List Type Define
|
||||||
|
Loading…
x
Reference in New Issue
Block a user