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();