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:
parent
b4553511f0
commit
22772fa90c
|
@ -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.',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user