summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/svc_homepage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/svc_homepage.cpp')
-rw-r--r--plugins/UserInfoEx/src/svc_homepage.cpp15
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);
+ }
}