Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:3261:    // Then all configurations and modules.    foreach(configurations, Configuration conf) {    clean_error_log(conf->error_log, cutoffs);       foreach(indices(conf->otomod), RoxenModule mod) {    clean_error_log(mod->error_log, cutoffs);    }    }   }    + protected void patcher_report_notice(string msg, mixed ... args) + { +  if (sizeof(args)) msg = sprintf(msg, @args); +  report_notice(plib->wash_output(msg)); + } +  + protected void patcher_report_error(string msg, mixed ... args) + { +  if (sizeof(args)) msg = sprintf(msg, @args); +  report_error(plib->wash_output(msg)); + } +    RoxenPatch.Patcher plib = -  RoxenPatch.Patcher(report_notice, report_error, getcwd(), getenv("LOCALDIR")); +  RoxenPatch.Patcher(patcher_report_notice, patcher_report_error, +  getcwd(), getenv("LOCALDIR"));      protected void hourly_maintenance()   {    error_log_cleaner();       if (query("auto_fetch_rxps")) {    plib->import_file_http();    }   }