mirror of
https://github.com/librenms/librenms.git
synced 2024-09-28 13:56:40 +00:00
commit
5c644d872f
2
irc.php
2
irc.php
@ -375,8 +375,10 @@ class ircbot {
|
||||
private function _reload() {
|
||||
if( $this->user['level'] == 10 ) {
|
||||
global $config;
|
||||
$config = array();
|
||||
include("includes/defaults.inc.php");
|
||||
include("config.php");
|
||||
include("includes/definitions.inc.php");
|
||||
$this->respond("Reloading configuration & defaults");
|
||||
if( $config != $this->config ) {
|
||||
return $this->__construct();
|
||||
|
Loading…
Reference in New Issue
Block a user