diff options
Diffstat (limited to 'src/core/hs_set.c')
-rw-r--r-- | src/core/hs_set.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/core/hs_set.c b/src/core/hs_set.c index a117f7540..062c758cf 100644 --- a/src/core/hs_set.c +++ b/src/core/hs_set.c @@ -15,8 +15,6 @@ #include "module.h" -void myHostServHelp(User *u); - class CommandHSSet : public Command { public: @@ -169,18 +167,11 @@ class HSSet : public Module this->SetType(CORE); this->AddCommand(HOSTSERV, new CommandHSSet(), MOD_UNIQUE); - - this->SetHostHelp(myHostServHelp); + } + void HostServHelp(User *u) + { + notice_lang(s_HostServ, u, HOST_HELP_CMD_SET); } }; -/** - * Add the help response to anopes /hs help output. - * @param u The user who is requesting help - **/ -void myHostServHelp(User *u) -{ - notice_lang(s_HostServ, u, HOST_HELP_CMD_SET); -} - MODULE_INIT("hs_set", HSSet) |