Updating for new IPC.cr API.

This commit is contained in:
Luka Vandervelden 2019-11-03 13:17:24 +01:00
parent a5247fd9f0
commit c6249e575c

View File

@ -52,10 +52,10 @@ IPC::Service.new "auth" do |event|
next
end
client = event.connection
case event
when IPC::Event::Message
client = event.connection
message = event.message
payload = message.payload