diff options
author | George Hazan <ghazan@miranda.im> | 2020-04-23 13:40:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-04-23 13:40:20 +0300 |
commit | b6a462fa7f4054dd71a99bf6627b577531377827 (patch) | |
tree | 14b5f9baba9f4a6faafd07f75e5b48efc1a0a88b /plugins/UserInfoEx/src/svc_homepage.cpp | |
parent | 3d5a30660d2aa93a22a0af192b64c170602207ca (diff) |
UInfoEx: fix for non-working Homepage menu item
Diffstat (limited to 'plugins/UserInfoEx/src/svc_homepage.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/svc_homepage.cpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/plugins/UserInfoEx/src/svc_homepage.cpp b/plugins/UserInfoEx/src/svc_homepage.cpp index 4d6561c640..506232f705 100644 --- a/plugins/UserInfoEx/src/svc_homepage.cpp +++ b/plugins/UserInfoEx/src/svc_homepage.cpp @@ -118,17 +118,6 @@ void SvcHomepageRebuildMenu() mi.name.a = LPGEN("&Homepage"); mi.pszService = MS_USERINFO_HOMEPAGE_OPENURL; ghMenuItem = Menu_AddContactMenuItem(&mi); - } -} - -/** -* This function initially loads the module upon startup. -* -* @param not used -* @return nothing -**/ - -void SvcHomepageLoadModule() -{ - CreateServiceFunction(MS_USERINFO_HOMEPAGE_OPENURL, MenuCommand); + CreateServiceFunction(mi.pszService, MenuCommand); + } } |