From 496fb3ef13ade0877693d62eb2f69916c885dfdb Mon Sep 17 00:00:00 2001 From: Spmario233 Date: Tue, 18 Jul 2023 22:26:19 +0800 Subject: [PATCH] fix server --- game/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/server.js b/game/server.js index adf3ae93d..0ddc4d1d6 100644 --- a/game/server.js +++ b/game/server.js @@ -149,7 +149,7 @@ this.sendl('eventsdenied','ban'); } else{ - cfg.nickname=util.getNickname(nickname); + cfg.nickname=util.getNickname(cfg.nickname); cfg.avatar=cfg.nickname||'caocao'; cfg.creator=id; cfg.id=util.getid();