Browse files

Merge pull request #1 from guilex/master

JSON return for presence_auth
  • Loading branch information...
2 parents 3802ce1 + 783dc2b commit bce6ed97c5abbc5ec0ed40f3414e92276e0dbeec @antonigiske committed Oct 10, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 application/libraries/Pusher.php
View
4 application/libraries/Pusher.php
@@ -170,8 +170,8 @@ public function socket_auth( $channel, $socket_id, $custom_data = false )
if($custom_data){
$signature['channel_data'] = $custom_data;
}
- return json_encode( $signature );
-
+ echo json_encode( $signature );
+ exit();
}
/**

0 comments on commit bce6ed9

Please sign in to comment.