admin stuff, removed deprecated install templates, blah blah

This commit is contained in:
Julian Lam
2014-01-10 13:27:50 -05:00
parent c5d8a5a6b2
commit ea8aa3fff2
14 changed files with 69 additions and 696 deletions

View File

@@ -72,6 +72,7 @@ var utils = require('../../public/src/utils'),
user.ban(theirid, function(err, result) {
callback(true);
socket.emit('event:alert', {
alert_id: 'ban_user',
title: 'User Banned',
message: 'This user is banned!',
type: 'success',
@@ -88,6 +89,7 @@ var utils = require('../../public/src/utils'),
if (amIAdmin) {
user.unban(theirid, function(err, result) {
socket.emit('event:alert', {
alert_id: 'ban_user',
title: 'User Unbanned',
message: 'This user is unbanned!',
type: 'success',