diff --git a/lib/fuckwebsockets.php b/lib/fuckwebsockets.php index cb5b306..3e87082 100644 --- a/lib/fuckwebsockets.php +++ b/lib/fuckwebsockets.php @@ -422,7 +422,7 @@ class fuckwebsockets{ } // final message - $this->log($this->client, "Text frame: {$frame_data}"); + $this->log($this->client, ($opcode === self::op_text ? "Text" : "Binary") . " frame: {$frame_data}"); break;