Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
AidenF0X committed Nov 11, 2021
1 parent 51be9a8 commit 20e25a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion foxxey/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,14 @@ function __construct($ip, $initType) {
$launcherDB = new db($config['db_user'],$config['db_pass'],$config['dbname_launcher']);

//Modules Initialising
functions::libFilesInclude(); // Base Functions (Will replace deprecated modules)
$this->allModules = functions::modulesInit();
$this->validModules = $this->allModules['validModules'];
$this->wipModules = $this->allModules['wipModules'];
functions::includeModules(SCRIPTS_DIR.'modules', $config['modulesDebug'], $this->validModules);
$this->longTermBan = new longTermBan($ip, $launcherDB);
if($this->longTermBan->checkBan() === false) {
functions::libFilesInclude();


switch($initType){
case 'launcher':
Expand Down

0 comments on commit 20e25a4

Please sign in to comment.