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/os_session.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/os_session.c') diff --git a/src/core/os_session.c b/src/core/os_session.c index 3c8d3963f..c484f35d9 100644 --- a/src/core/os_session.c +++ b/src/core/os_session.c @@ -461,8 +461,10 @@ class OSSession : public Module this->AddCommand(OPERSERV, new CommandOSSession()); this->AddCommand(OPERSERV, new CommandOSException()); + + ModuleManager::Attach(I_OnOperServHelp, this); } - void OperServHelp(User *u) + void OnOperServHelp(User *u) { notice_lang(s_OperServ, u, OPER_HELP_CMD_SESSION); notice_lang(s_OperServ, u, OPER_HELP_CMD_EXCEPTION); -- cgit