aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands/internal/socketreply.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/commands/internal/socketreply.js')
-rw-r--r--server/src/commands/internal/socketreply.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/commands/internal/socketreply.js b/server/src/commands/internal/socketreply.js
index fa3b8cf..5dadaf6 100644
--- a/server/src/commands/internal/socketreply.js
+++ b/server/src/commands/internal/socketreply.js
@@ -4,9 +4,9 @@
// module main
exports.run = async (core, server, socket, data) => {
- if (data.cmdKey !== server._cmdKey) {
+ if (data.cmdKey !== server.cmdKey) {
// internal command attempt by client, increase rate limit chance and ignore
- return server._police.frisk(socket.remoteAddress, 20);
+ return server.police.frisk(socket.remoteAddress, 20);
}
// send warning to target socket