From 31deea629fd1b365a7f8329cfb05cc57373d5b91 Mon Sep 17 00:00:00 2001 From: ayunami2000 Date: Thu, 14 Apr 2022 10:24:51 -0400 Subject: [PATCH] small fix --- eagler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eagler.js b/eagler.js index cfa2a1d..0f10d88 100644 --- a/eagler.js +++ b/eagler.js @@ -81,7 +81,7 @@ wss.on('connection', function(ws) { msgNum++; if(data.toString()=="Accept: MOTD"){ ws.send(getMotd()); - if(serverIcon!=null)ws.send(iconBuff); + if(iconBuff!=null)ws.send(iconBuff); closeIt(); return; }