Remove debug logs

This commit is contained in:
Hri7566 2024-07-13 05:57:49 -04:00
parent 7a7d942845
commit 8002c4b6ad
2 changed files with 4 additions and 4 deletions

View File

@ -403,7 +403,7 @@ export class Channel extends EventEmitter {
let hasChangedChannel = false;
this.logger.debug("Join force:", force);
//this.logger.debug("Join force:", force);
if (!force) {
// Is user banned?

View File

@ -146,8 +146,8 @@ export class Socket extends EventEmitter {
let channel: Channel | undefined;
logger.debug(channelConfig.lobbyBackdoor);
logger.debug("Desired:", this.desiredChannel._id, "| Matching:", channelConfig.lobbyBackdoor, ",", this.desiredChannel._id == channelConfig.lobbyBackdoor);
//logger.debug(channelConfig.lobbyBackdoor);
//logger.debug("Desired:", this.desiredChannel._id, "| Matching:", channelConfig.lobbyBackdoor, ",", this.desiredChannel._id == channelConfig.lobbyBackdoor);
// Are we joining the lobby backdoor?
if (this.desiredChannel._id == channelConfig.lobbyBackdoor) {
@ -216,7 +216,7 @@ export class Socket extends EventEmitter {
let user = await readUser(this._id);
if (!user || user == null) {
logger.debug("my fancy new ID:", this._id);
//logger.debug("my fancy new ID:", this._id);
await createUser(
this._id,
config.defaultName,