Make use of $observium_link

This commit is contained in:
f0o
2014-03-08 22:42:03 +01:00
parent 34f2196d1a
commit b713ec3113

View File

@ -38,8 +38,11 @@ class ircbot {
private $tick = 62500;
public function __construct() {
global $config;
global $config, $observium_link;
$this->log("Setting up IRC-Bot..");
if( is_resource($observium_link) ) {
$this->sql = $observium_link;
}
$this->j = 2;
$this->config = $config;
$this->debug = $this->config['irc_debug'];