This must then still be changed in the main class.
$this->mysqlBanByName = new MySQLBanList($this->getConfig()->get('mysql-settings'), MySQLBanList::TABLE_NAMEBANS);
$this->mysqlBanByIP = new MySQLBanList($this->getConfig()->get('mysql-settings'), MySQLBanList::TABLE_IPBANS);
You should also check if the mysql banlist should be set at all. Suggestion:
mysql-banlist: false
if($this->getConfig()->get('mysql-banlist', false)) {
$this->mysqlBanByName = new MySQLBanList($this->getConfig()->get('mysql-settings'), MySQLBanList::TABLE_NAMEBANS);
$this->mysqlBanByIP = new MySQLBanList($this->getConfig()->get('mysql-settings'), MySQLBanList::TABLE_IPBANS);
}
Configuration for mysql settings is still missing. Suggestion:
This must then still be changed in the main class.
You should also check if the mysql banlist should be set at all. Suggestion: