From a5c6ebbc89796779da196e466bc52d713a6d75c9 Mon Sep 17 00:00:00 2001 From: Karchnu Date: Tue, 14 Jul 2020 13:44:49 +0200 Subject: [PATCH] client sending a message: by default with a the server fd --- src/authd.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authd.cr b/src/authd.cr index c72e132..bb68b68 100644 --- a/src/authd.cr +++ b/src/authd.cr @@ -422,7 +422,7 @@ module AuthD end def send(type : Request::Type, payload) - send type.value.to_u8, payload + send @server_fd, type.value.to_u8, payload end def decode_token(token)