summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src/stopspam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamPlus/src/stopspam.cpp')
-rw-r--r--plugins/StopSpamPlus/src/stopspam.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/StopSpamPlus/src/stopspam.cpp b/plugins/StopSpamPlus/src/stopspam.cpp
index beac3f3481..1ff5a0ef28 100644
--- a/plugins/StopSpamPlus/src/stopspam.cpp
+++ b/plugins/StopSpamPlus/src/stopspam.cpp
@@ -78,7 +78,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
mi.hIcon=LoadSkinnedIcon(SKINICON_OTHER_MIRANDA);
mi.ptszName = _T("Remove Temporary Contacts");
mi.pszService = pluginName"/RemoveTempContacts";
- CallService(MS_CLIST_ADDMAINMENUITEM, 0, (LPARAM)&mi);
+ Menu_AddMainMenuItem(&mi);
miranda::EventHooker::HookAll();
return 0;