Merge pull request #163 from libccy/PR-Branch

fix server
This commit is contained in:
Spmario233 2023-07-18 22:41:55 +08:00 committed by GitHub
commit fa12b11328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();