fixed missing comma

v1.18.x
barisusakli 11 years ago
parent da72924187
commit 4f11ac9664

@ -42,7 +42,7 @@ User.unbanUsers = function(socket, uids, callback) {
toggleBan(uids, user.unban, callback); toggleBan(uids, user.unban, callback);
}; };
function toggleBan(uids, method callback) { function toggleBan(uids, method, callback) {
if(!Array.isArray(uids)) { if(!Array.isArray(uids)) {
return callback(new Error('[[error:invalid-data]]')); return callback(new Error('[[error:invalid-data]]'));
} }

Loading…
Cancel
Save