Revert "did not pass arch into plugins #4313"
This reverts commit 0f686ff308
.
This commit is contained in:
parent
0f686ff308
commit
9f1255d986
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue