Fixed a bug where sessions were not cleared

This commit is contained in:
Luke Fitzgerald 2010-06-28 17:03:19 -07:00
parent 8175f0f3bf
commit bcb718cd31
1 changed files with 2 additions and 2 deletions

View File

@ -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