fix server

This commit is contained in:
Spmario233 2023-07-18 22:26:19 +08:00
parent e7e939ecc1
commit 496fb3ef13
1 changed files with 1 additions and 1 deletions

View File

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