diff --git a/libs/config.js b/libs/config.js index 1f8920ef..05e03bbc 100644 --- a/libs/config.js +++ b/libs/config.js @@ -54,7 +54,7 @@ module.exports = function(s){ if(config.cron.key === 'change_this_to_something_very_random__just_anything_other_than_this'){ console.error('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!') console.error('!! Change your cron key in your conf.json. !!') - console.error('!! If you\'re running Shinobi remotely you should do this now. !!') + console.error(`!! If you're running Shinobi remotely you should do this now. !!`) console.error('!! You can do this in the Super User panel or from terminal. !!') console.error('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!') } diff --git a/libs/monitor.js b/libs/monitor.js index a13d8d60..80b08bd6 100644 --- a/libs/monitor.js +++ b/libs/monitor.js @@ -1463,7 +1463,7 @@ module.exports = function(s,config,lang){ s.tx(txData,'GRP_'+form.ke) callback(!endData.ok,endData) s.onMonitorSaveExtensions.forEach(function(extender){ - extender(Object.assign(s.group[e.ke].mon_conf[e.id],{}),e,endData) + extender(Object.assign(s.group[form.ke].mon_conf[form.mid],{}),form,endData) }) }) }