linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #06939
[Branch ~dcplusplus-team/dcpp-plugin-sdk-cpp/trunk] Rev 26: installing happens at run time
------------------------------------------------------------
revno: 26
committer: poy <poy@xxxxxxxxxx>
branch nick: dcpp-plugin-sdk-cpp
timestamp: Sun 2013-06-02 13:32:06 +0200
message:
installing happens at run time
modified:
src/Plugin.cpp
--
lp:dcpp-plugin-sdk-cpp
https://code.launchpad.net/~dcplusplus-team/dcpp-plugin-sdk-cpp/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcpp-plugin-sdk-cpp.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcpp-plugin-sdk-cpp/trunk/+edit-subscription
=== modified file 'src/Plugin.cpp'
--- src/Plugin.cpp 2013-05-30 18:56:29 +0000
+++ src/Plugin.cpp 2013-06-02 11:32:06 +0000
@@ -50,7 +50,7 @@
case ON_LOAD_RUNTIME:
{
instance = new Plugin();
- return instance->onLoad(core, state == ON_INSTALL, state == ON_LOAD_RUNTIME) ? True : False;
+ return instance->onLoad(core, state == ON_INSTALL, state == ON_INSTALL || state == ON_LOAD_RUNTIME) ? True : False;
}
case ON_UNINSTALL: