Node.js based forum software built for the modern web
all your semi-colons are belongs to me
psychobunny729ed6fbdaa9
diff --git a/src/controllers/admin.js b/src/controllers/admin.jsindex c438c4de94..c517edb574 100644--- a/src/controllers/admin.js+++ b/src/controllers/admin.js@@ -208,7 +208,7 @@ adminController.plugins.get = function(req, res, next) {res.render('admin/extend/plugins' , {plugins: plugins});- })+ });};adminController.languages.get = function(req, res, next) {@@ -342,6 +342,6 @@ adminController.themes.get = function(req, res, next) {return next();}});-}+};module.exports = adminController;diff --git a/src/meta/themes.js b/src/meta/themes.jsindex e92dbc0a3d..022a7164aa 100644--- a/src/meta/themes.js+++ b/src/meta/themes.js@@ -43,7 +43,7 @@ module.exports = function(Meta) {// Minor adjustments for API outputconfigObj.type = 'local';if (configObj.screenshot) {- configObj.screenshot_url = nconf.get('relative_path') + '/css/previews/' + configObj.id+ configObj.screenshot_url = nconf.get('relative_path') + '/css/previews/' + configObj.id;} else {configObj.screenshot_url = nconf.get('relative_path') + '/images/themes/default.png';}diff --git a/src/socket.io/index.js b/src/socket.io/index.jsindex 75316419d6..6626b812e5 100644--- a/src/socket.io/index.js+++ b/src/socket.io/index.js@@ -91,7 +91,7 @@ Sockets.init = function(server) {redisClient : client});} else if (nconf.get('cluster')) {- winston.warn('[socket.io] Clustering detected, you are advised to configure Redis as a websocket store.')+ winston.warn('[socket.io] Clustering detected, you are advised to configure Redis as a websocket store.');}io = socketioWildcard(SocketIO).listen(server, config);diff --git a/src/socket.io/user.js b/src/socket.io/user.jsindex 8bfe07417d..a23b3f77c5 100644--- a/src/socket.io/user.js+++ b/src/socket.io/user.js@@ -200,7 +200,7 @@ SocketUser.uploadProfileImageFromUrl = function(socket, url, callback) {callback(err, image.url);});});-}+};SocketUser.follow = function(socket, data, callback) {if (!socket.uid || !data) {diff --git a/src/user/auth.js b/src/user/auth.jsindex 594e7e843e..19263c7cdb 100644--- a/src/user/auth.js+++ b/src/user/auth.js@@ -49,5 +49,5 @@ module.exports = function(User) {async.apply(db.delete, 'loginAttempts:' + uid),async.apply(db.delete, 'lockout:' + uid)], callback);- }+ };};\ No newline at end of file