diff --git a/LibreNMS/IRCBot.php b/LibreNMS/IRCBot.php index 2fbffa1ea3..0e886ec10a 100644 --- a/LibreNMS/IRCBot.php +++ b/LibreNMS/IRCBot.php @@ -101,6 +101,7 @@ class IRCBot } elseif (! is_array($this->config['irc_alert_chan'])) { $this->config['irc_alert_chan'] = [$this->config['irc_alert_chan']]; } + $this->chan = $this->config['irc_alert_chan']; } if ($this->config['irc_pass']) {