Added lib->plugin->unload(); before delete lib->plugin; So unload function is called when you unload a plugin. (Njaard still dont agree this change. The code is borrowed from noatun)
Added lib->plugin->unload(); before delete lib->plugin;
So unload function is called when you unload a plugin.
(Njaard still dont agree this change. The code is borrowed from
noatun)

svn path=/trunk/kdenetwork/kopete/; revision=132640

josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete,Jtalk/kopete-fork-xep0136,josh-wambua/kopete,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,josh-wambua/kopete,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,josh-wambua/kopete