From 6d60b4a972eb965e8cf0a3c80e6f9f083c4b043a Mon Sep 17 00:00:00 2001 From: Moe Date: Wed, 3 Oct 2018 15:06:37 -0700 Subject: [PATCH] light cleanup --- libs/childNode.js | 2 +- libs/socketio.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/childNode.js b/libs/childNode.js index e4807013..f5dd3315 100644 --- a/libs/childNode.js +++ b/libs/childNode.js @@ -37,7 +37,7 @@ module.exports = function(s,config,lang){ tx({ f : 'init_success', childNodes : s.childNodes - }); + }) }else{ switch(d.f){ case'cpu': diff --git a/libs/socketio.js b/libs/socketio.js index 28a833a7..965bf9f6 100644 --- a/libs/socketio.js +++ b/libs/socketio.js @@ -1081,6 +1081,7 @@ module.exports = function(s,config,lang,io){ currentSuperUser = Object.assign(currentSuperUser,d.form) //reset email and log change of email if(d.form.mail !== cn.mail){ + logDetails.newEmail = d.form.mail logDetails.oldEmail = cn.mail + '' cn.mail = d.form.mail }