summaryrefslogtreecommitdiff
path: root/plugins/websockets/connection/connection.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/websockets/connection/connection.go')
-rw-r--r--plugins/websockets/connection/connection.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/websockets/connection/connection.go b/plugins/websockets/connection/connection.go
index 5eb30c61..2b847173 100644
--- a/plugins/websockets/connection/connection.go
+++ b/plugins/websockets/connection/connection.go
@@ -43,8 +43,6 @@ func (c *Connection) Write(mt int, data []byte) error {
}
func (c *Connection) Read() (int, []byte, error) {
- //c.RLock()
- //defer c.RUnlock()
const op = errors.Op("websocket_read")
mt, data, err := c.conn.ReadMessage()