This commit is contained in:
psychobunny
2014-10-08 00:18:02 -04:00
parent 298625225a
commit eb4baf62b5
3 changed files with 12 additions and 5 deletions

View File

@@ -24,6 +24,8 @@ var fs = require('fs'),
websockets = require('../socket.io');
function userNotFound(res) {
res.locals.notFound = true;
if (res.locals.isAPI) {
res.status(404).json('no-user');
} else {