aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands/mod/unbanall.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/commands/mod/unbanall.js')
-rw-r--r--server/src/commands/mod/unbanall.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/commands/mod/unbanall.js b/server/src/commands/mod/unbanall.js
index a5de3c8..9d417aa 100644
--- a/server/src/commands/mod/unbanall.js
+++ b/server/src/commands/mod/unbanall.js
@@ -14,6 +14,8 @@ export async function run(core, server, socket) {
// remove arrest records
server.police.clear();
+ core.stats.set('users-banned', 0);
+
console.log(`${socket.nick} [${socket.trip}] unbanned all`);
// reply with success