removed oninits from the plugins

This commit is contained in:
kremsy
2014-01-18 10:26:32 +01:00
committed by Steffen Schröder
parent 30baf3e00d
commit 90b0579c17
5 changed files with 18 additions and 26 deletions

View File

@ -285,9 +285,6 @@ class ManiaControl implements CommandListener {
public function run() {
$this->log('Starting ManiaControl v' . self::VERSION . '!');
// Load plugins
$this->pluginManager->loadPlugins();
// Connect to server
$this->connect();
@ -297,6 +294,9 @@ class ManiaControl implements CommandListener {
// OnInit callback
$this->callbackManager->triggerCallback(CallbackManager::CB_MC_ONINIT, array(CallbackManager::CB_MC_ONINIT));
// Load plugins
$this->pluginManager->loadPlugins();
// Announce ManiaControl
$this->chat->sendInformation('ManiaControl v' . self::VERSION . ' successfully started!');