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