Skip to content

Commit

Permalink
Merge pull request bloatless#7 from fushihara/patch-2
Browse files Browse the repository at this point in the history
Update server/lib/WebSocket/Connection.php
  • Loading branch information
nekudo committed Sep 19, 2012
2 parents 052e29f + 03dc508 commit 26c49fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/lib/WebSocket/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ private function handle($data)
$this->server->getApplication('status')->clientActivity($this->port);
}

if(!isset($data['type']))
if(!isset($decodedData['type']))
{
$this->sendHttpResponse(401);
stream_socket_shutdown($this->socket, STREAM_SHUT_RDWR);
Expand Down

0 comments on commit 26c49fe

Please sign in to comment.