Fixed clearQueue() action not being deleted

This commit is contained in:
Shoghi Cervantes 2013-08-27 17:29:55 +02:00
parent 41084f51a6
commit c73c1eb806

View File

@ -901,6 +901,9 @@ class Player{
}
public function clearQueue(){
if($this->connected === false){
return false;
}
ksort($this->received);
if(($cnt = count($this->received)) > PLAYER_MAX_QUEUE){
foreach($this->received as $c => $t){