Skip to content

Commit c609847

Browse files
committed
fix: remove spam-click alert
1 parent f4d575f commit c609847

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ws/index.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export const createWSServer = (base: ServerInstance) => {
168168
// Someone spammed the Submit button to bypass questions
169169
// Thanks @BBI-Dev (on GitHub) for reporting this
170170
if (socket.data.isRunning) {
171-
io.of(`/manage-${room.id}`).emit("alert", "warning", `${socket.data.name} attempted to spam-click an answer!`);
171+
// io.of(`/manage-${room.id}`).emit("alert", "warning", `${socket.data.name} attempted to spam-click an answer!`);
172172
return;
173173
}
174174

0 commit comments

Comments
 (0)