mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Fix type fatal on reload
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user