Skip to content

Commit

Permalink
Dont respond to manual ping events
Browse files Browse the repository at this point in the history
  • Loading branch information
phawk committed Apr 19, 2018
1 parent 9d26fec commit f384624
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/bifrost.cr
Expand Up @@ -107,10 +107,6 @@ module Bifrost
socket.close("Not Authorized!")
end
end

if data["event"].to_s == "ping"
socket.send({event: "pong"}.to_json)
end
end

socket.on_pong do
Expand Down

0 comments on commit f384624

Please sign in to comment.