This commit is contained in:
ctrlcn
2025-11-20 17:35:45 -05:00
parent 698fb19014
commit 3bbdf1c1b6
2 changed files with 1 additions and 2 deletions

View File

@@ -377,7 +377,7 @@ export default class CollabVMServer implements IProtocolMessageHandler {
} }
if ((!this.turnsAllowed || this.Config.collabvm.turnwhitelist) && user.rank !== Rank.Admin && user.rank !== Rank.Moderator && !user.turnWhitelist) return; if ((!this.turnsAllowed || this.Config.collabvm.turnwhitelist) && user.rank !== Rank.Admin && user.rank !== Rank.Moderator && !user.turnWhitelist) return;
if (!user.connectedToNode) { if (!user.connectedToNode) {
user.logger.warn({event: "vote/ratelimited"}); user.logger.warn({event: "vote/not connected to node"});
return; return;
} }
if (!user.VoteRateLimit.request()) { if (!user.VoteRateLimit.request()) {

View File

@@ -183,7 +183,6 @@ export class User {
} }
sendAuth(authServer: string): void { sendAuth(authServer: string): void {
this.logger.info({event: "sending auth", auth_server: authServer});
this.protocol.sendAuth(this, authServer); this.protocol.sendAuth(this, authServer);
} }