From 9d37cf1d5afeaa054f31e0df85275521410bde61 Mon Sep 17 00:00:00 2001 From: Adam- Date: Sun, 8 Nov 2009 23:43:51 +0000 Subject: Made the Module::ServHelp() functions part of the event system git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2637 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/hs_setall.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/hs_setall.c') diff --git a/src/core/hs_setall.c b/src/core/hs_setall.c index 8343eb0f9..344ed1e51 100644 --- a/src/core/hs_setall.c +++ b/src/core/hs_setall.c @@ -162,8 +162,10 @@ class HSSetAll : public Module this->SetType(CORE); this->AddCommand(HOSTSERV, new CommandHSSetAll()); + + ModuleManager::Attach(I_OnHostServHelp, this); } - void HostServHelp(User *u) + void OnHostServHelp(User *u) { notice_lang(s_HostServ, u, HOST_HELP_CMD_SETALL); } -- cgit