small fix

This commit is contained in:
ayunami2000 2022-04-14 10:24:51 -04:00
parent a55e3f317c
commit 31deea629f

View File

@ -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;
}