summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod/src/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamMod/src/init.cpp')
-rwxr-xr-xplugins/StopSpamMod/src/init.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/StopSpamMod/src/init.cpp b/plugins/StopSpamMod/src/init.cpp
index 473a5676ba..056f226816 100755
--- a/plugins/StopSpamMod/src/init.cpp
+++ b/plugins/StopSpamMod/src/init.cpp
@@ -148,12 +148,11 @@ extern "C" int __declspec(dllexport) Load()
CreateServiceFunction("/RemoveTmp", (MIRANDASERVICE)RemoveTmp);
HookEvent(ME_SYSTEM_MODULESLOADED, OnSystemModulesLoaded);
- TMO_MenuItem mi = { 0 };
- mi.position=-0x7FFFFFFF;
- mi.flags=0;
- mi.hIcolibItem=Skin_LoadIcon(SKINICON_OTHER_MIRANDA);
- mi.name.a=LPGEN("Remove Temporary Contacts");
- mi.pszService="/RemoveTmp";
+ CMenuItem mi;
+ mi.position = -0x7FFFFFFF;
+ mi.hIcolibItem = Skin_LoadIcon(SKINICON_OTHER_MIRANDA);
+ mi.name.a = LPGEN("Remove Temporary Contacts");
+ mi.pszService = "/RemoveTmp";
Menu_AddMainMenuItem(&mi);