diff --git a/server/web.js b/server/web.js index d00cc26..b133c80 100644 --- a/server/web.js +++ b/server/web.js @@ -252,7 +252,7 @@ pluginsWss.on('connection', (ws, request) => { ws.on('message', message => { // Anti-spam - const msg2 = helpers.antispamProtection(message, clientIp, ws, userCommands, lastWarn, userCommandHistory, '10', 'data_plugins'); + const msg2 = helpers.antispamProtection(message, clientIp, ws, userCommands, lastWarn, userCommandHistory, '10', 'data_plugins', 1024 * 1024 * 2); if(!msg2) return; try {