did not pass arch into plugins #4313

This commit is contained in:
XinyuHou 2015-02-13 12:42:23 +00:00
parent 8e4f758cb1
commit 0f686ff308
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::getInstance());
ARCH->plugin().init(Log::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::getInstance());
ARCH->plugin().init(Log::getInstance());
// start server, etc
appUtil().startNode();