From a8ca361acd998143ffde264b52549d53d91900fc Mon Sep 17 00:00:00 2001 From: Olen Date: Wed, 30 Sep 2020 06:12:09 +0200 Subject: [PATCH] Add missing setting of channels to join (#12160) --- LibreNMS/IRCBot.php | 1 + 1 file changed, 1 insertion(+) 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']) {