diff options
Diffstat (limited to 'protocols/FacebookRM/main.cpp')
| -rw-r--r-- | protocols/FacebookRM/main.cpp | 29 | 
1 files changed, 1 insertions, 28 deletions
diff --git a/protocols/FacebookRM/main.cpp b/protocols/FacebookRM/main.cpp index 2cf6e13f18..ecdab519bc 100644 --- a/protocols/FacebookRM/main.cpp +++ b/protocols/FacebookRM/main.cpp @@ -91,32 +91,6 @@ static int protoUninit(PROTO_INTERFACE* proto)  	return EXIT_SUCCESS;
  }
 -int OnModulesLoaded(WPARAM,LPARAM)
 -{
 -	if ( ServiceExists( MS_UPDATE_REGISTER ))
 -	{
 -		Update upd = {sizeof(upd)};
 -		char curr_version[30];
 -
 -		upd.szComponentName = pluginInfo.shortName;
 -		upd.szUpdateURL = UPDATER_AUTOREGISTER;
 -		upd.szBetaVersionURL     = "http://robyer.info/miranda/facebookRM/version.html";
 -		upd.szBetaChangelogURL   = "http://robyer.info/miranda/facebookRM/changelog.html";
 -		upd.pbBetaVersionPrefix  = reinterpret_cast<BYTE*>("Facebook RM ");
 -		upd.cpbBetaVersionPrefix = (int)strlen(reinterpret_cast<char*>(upd.pbBetaVersionPrefix));
 -		#ifdef _WIN64
 -			upd.szBetaUpdateURL      = "http://robyer.info/stahni/facebookRM_x64.zip";    
 -		#else
 -			upd.szBetaUpdateURL      = "http://robyer.info/stahni/facebookRM.zip";  
 -		#endif    
 -		upd.pbVersion = reinterpret_cast<BYTE*>(CreateVersionStringPluginEx(&pluginInfo,curr_version));
 -		upd.cpbVersion = (int)strlen(reinterpret_cast<char*>(upd.pbVersion));
 -		CallService(MS_UPDATE_REGISTER,0,(LPARAM)&upd);
 -	}
 -
 -	return 0;
 -}
 -
  static HANDLE g_hEvents[1];
  extern "C" int __declspec(dllexport) Load(void)
 @@ -135,8 +109,7 @@ extern "C" int __declspec(dllexport) Load(void)  	pd.fnUninit = protoUninit;
  	CallService(MS_PROTO_REGISTERMODULE,0,reinterpret_cast<LPARAM>(&pd));
 -	g_hEvents[0] = HookEvent(ME_SYSTEM_MODULESLOADED,OnModulesLoaded);
 -
 +	
  	InitIcons();
  	InitContactMenus();
  | 
