← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcpp-plugin-sdk-c/ExamplePlugin] Rev 7: fix onLoad test, ui is tested within onSecond

 

------------------------------------------------------------
revno: 7
committer: crise <crise@xxxxxxxxxx>
branch nick: ExamplePlugin
timestamp: Sun 2012-12-30 03:52:38 +0200
message:
  fix onLoad test, ui is tested within onSecond
modified:
  src/Plugin.c


--
lp:~dcplusplus-team/dcpp-plugin-sdk-c/ExamplePlugin
https://code.launchpad.net/~dcplusplus-team/dcpp-plugin-sdk-c/ExamplePlugin

Your team Dcplusplus-team is subscribed to branch lp:~dcplusplus-team/dcpp-plugin-sdk-c/ExamplePlugin.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcpp-plugin-sdk-c/ExamplePlugin/+edit-subscription
=== modified file 'src/Plugin.c'
--- src/Plugin.c	2012-12-30 01:33:11 +0000
+++ src/Plugin.c	2012-12-30 01:52:38 +0000
@@ -109,7 +109,7 @@
 	tagger = (DCTaggerPtr)core->query_interface(DCINTF_DCPP_TAGGER, DCINTF_DCPP_TAGGER_VER);
 	ui = (DCUIPtr)core->query_interface(DCINTF_DCPP_UI, DCINTF_DCPP_UI_VER);
 
-	if(!init_cfg(core, PLUGIN_GUID) || !hooks || !logging || !hub || !ui) {
+	if(!init_cfg(core, PLUGIN_GUID) || !hooks || !logging || !hub || !tagger) {
 		return False;
 	}