Revert "did not pass arch into plugins #4313"

This reverts commit 0f686ff308.
This commit is contained in:
Xinyu Hou 2015-02-13 14:25:29 +00:00
parent 0f686ff308
commit 9f1255d986
2 changed files with 2 additions and 2 deletions

View File

@ -460,7 +460,7 @@ ClientApp::mainLoop()
// load all available plugins.
ARCH->plugin().load();
// pass log and arch into plugins.
ARCH->plugin().init(Log::getInstance());
ARCH->plugin().init(Log::getInstance(), Arch::getInstance());
// start client, etc
appUtil().startNode();

View File

@ -710,7 +710,7 @@ ServerApp::mainLoop()
// load all available plugins.
ARCH->plugin().load();
// pass log and arch into plugins.
ARCH->plugin().init(Log::getInstance());
ARCH->plugin().init(Log::getInstance(), Arch::getInstance());
// start server, etc
appUtil().startNode();