🌿
This commit is contained in:
@@ -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 (!user.connectedToNode) {
|
||||
user.logger.warn({event: "vote/ratelimited"});
|
||||
user.logger.warn({event: "vote/not connected to node"});
|
||||
return;
|
||||
}
|
||||
if (!user.VoteRateLimit.request()) {
|
||||
|
||||
@@ -183,7 +183,6 @@ export class User {
|
||||
}
|
||||
|
||||
sendAuth(authServer: string): void {
|
||||
this.logger.info({event: "sending auth", auth_server: authServer});
|
||||
this.protocol.sendAuth(this, authServer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user