1
0
mirror of https://github.com/hack-chat/main.git synced 2024-03-22 13:20:33 +08:00

minimized command penalty

Can't wait to see the flashing rainbow nicks! :D
This commit is contained in:
marzavec 2020-11-06 13:22:50 -08:00
parent b4553511f0
commit 22772fa90c

View File

@ -11,7 +11,7 @@ export async function run({
}) { }) {
const channel = socket.channel; const channel = socket.channel;
if (server.police.frisk(socket.address, 6)) { if (server.police.frisk(socket.address, 1)) {
return server.reply({ return server.reply({
cmd: 'warn', // @todo Add numeric error code as `id` cmd: 'warn', // @todo Add numeric error code as `id`
text: 'You are changing colors too fast. Wait a moment before trying again.', text: 'You are changing colors too fast. Wait a moment before trying again.',