hackchat-server 2.3 update
This commit is contained in:
@@ -68,7 +68,7 @@ export async function run({
|
||||
core, server, socket, payload,
|
||||
}) {
|
||||
// check for spam
|
||||
if (server.police.frisk(socket.address, 2)) {
|
||||
if (server.police.frisk(socket, 2)) {
|
||||
return server.reply({
|
||||
cmd: 'warn',
|
||||
text: 'You are sending invites too fast. Wait a moment before trying again.',
|
||||
|
||||
Reference in New Issue
Block a user