summaryrefslogtreecommitdiff
path: root/src/modules/hs_request.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/hs_request.c')
-rw-r--r--src/modules/hs_request.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c
index 779629521..0466f95fe 100644
--- a/src/modules/hs_request.c
+++ b/src/modules/hs_request.c
@@ -678,6 +678,8 @@ class HSRequest : public Module
this->InsertLanguage(LANG_PT, LNG_NUM_STRINGS, langtable_pt);
this->InsertLanguage(LANG_RU, LNG_NUM_STRINGS, langtable_ru);
this->InsertLanguage(LANG_IT, LNG_NUM_STRINGS, langtable_it);
+
+ ModuleManager::Attach(I_OnHostServHelp, this);
}
~HSRequest()
@@ -765,7 +767,7 @@ class HSRequest : public Module
ModuleDatabaseBackup(HSREQ_DEFAULT_DBNAME);
}
- void HostServHelp(User *u)
+ void OnHostServHelp(User *u)
{
this->NoticeLang(s_HostServ, u, LNG_HELP);
this->NoticeLang(s_HostServ, u, LNG_HELP_SETTER);