diff options
Diffstat (limited to 'protocols/Facebook/src/main.cpp')
-rw-r--r-- | protocols/Facebook/src/main.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/protocols/Facebook/src/main.cpp b/protocols/Facebook/src/main.cpp index 7d87990901..d256d752d9 100644 --- a/protocols/Facebook/src/main.cpp +++ b/protocols/Facebook/src/main.cpp @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. CMPlugin g_plugin;
-bool g_bMessageState;
-
/////////////////////////////////////////////////////////////////////////////////////////
PLUGININFOEX pluginInfoEx = {
@@ -53,18 +51,7 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_PROTOC /////////////////////////////////////////////////////////////////////////////////////////
// Load
-static int OnModuleLoaded(WPARAM, LPARAM)
-{
- g_bMessageState = ServiceExists(MS_MESSAGESTATE_UPDATE) != 0;
- return 0;
-}
-
int CMPlugin::Load()
{
- HookEvent(ME_SYSTEM_MODULELOAD, OnModuleLoaded);
- HookEvent(ME_SYSTEM_MODULEUNLOAD, OnModuleLoaded);
- HookEvent(ME_SYSTEM_MODULESLOADED, OnModuleLoaded);
-
- // Initialize random generator (used only as fallback in utils)
return 0;
}
|