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 | |
parent | 3d5a30660d2aa93a22a0af192b64c170602207ca (diff) |
UInfoEx: fix for non-working Homepage menu item
-rw-r--r-- | plugins/UserInfoEx/src/svc_homepage.cpp | 15 | ||||
-rw-r--r-- | plugins/UserInfoEx/src/svc_homepage.h | 1 |
2 files changed, 2 insertions, 14 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); + } } diff --git a/plugins/UserInfoEx/src/svc_homepage.h b/plugins/UserInfoEx/src/svc_homepage.h index 51900522c8..ec0b525b45 100644 --- a/plugins/UserInfoEx/src/svc_homepage.h +++ b/plugins/UserInfoEx/src/svc_homepage.h @@ -23,6 +23,5 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define _UINFOEX_SvcHomepage_H_INCLUDED_ void SvcHomepageRebuildMenu(); -void SvcHomepageLoadModule(); #endif /* _UINFOEX_SvcHomepage_H_INCLUDED_ */
\ No newline at end of file |