Merge pull request #3226 from VOREStation/aro-reducedouble

Reduce double admin logs
This commit is contained in:
Leshana
2018-03-16 01:14:27 -04:00
committed by GitHub
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -25,6 +25,11 @@
if (config.log_admin)
diary << "\[[time_stamp()]]ADMIN: [text][log_end]"
/proc/log_adminpm(text, client/source, client/dest)
admin_log.Add(text)
if (config.log_admin)
diary << "\[[time_stamp()]]ADMINPM: [key_name(source)]->[key_name(dest)]: [html_decode(text)][log_end]"
/proc/log_debug(text)
if (config.log_debug)
debug_log << "\[[time_stamp()]]DEBUG: [text][log_end]"