From 4f11ac9664d74669a05ad908a70346da712ee208 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 13 May 2014 16:45:37 -0400 Subject: [PATCH] fixed missing comma --- src/socket.io/admin/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.io/admin/user.js b/src/socket.io/admin/user.js index 80153c46b9..fce76d1644 100644 --- a/src/socket.io/admin/user.js +++ b/src/socket.io/admin/user.js @@ -42,7 +42,7 @@ User.unbanUsers = function(socket, uids, callback) { toggleBan(uids, user.unban, callback); }; -function toggleBan(uids, method callback) { +function toggleBan(uids, method, callback) { if(!Array.isArray(uids)) { return callback(new Error('[[error:invalid-data]]')); }