small fix
This commit is contained in:
parent
074918aba6
commit
8d5db2f0a9
@ -271,12 +271,12 @@ class ManiaControl implements CommandListener {
|
||||
public function run() {
|
||||
$this->log('Starting ManiaControl v' . self::VERSION . '!');
|
||||
|
||||
// Connect to server
|
||||
$this->connect();
|
||||
|
||||
// Register shutdown handler
|
||||
register_shutdown_function(array($this, 'handleShutdown'));
|
||||
|
||||
// Connect to server
|
||||
$this->connect();
|
||||
|
||||
// OnInit callback
|
||||
$this->callbackManager->triggerCallback(CallbackManager::CB_MC_ONINIT, array(CallbackManager::CB_MC_ONINIT));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user