summaryrefslogtreecommitdiff
path: root/include/modules/help.h
blob: 333e5f9c8bf504aeedd5926a591a095a08d130fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 *
 * (C) 2014 Anope Team
 * Contact us at team@anope.org
 *
 * Please read COPYING and README for further details.
 *
 */

namespace Event
{
	struct CoreExport Help : Events
	{
		/** Called when someone uses the generic/help command
		 * @param source Command source
		 * @param params Params
		 * @return EVENT_STOP to stop processing
		 */
		virtual EventReturn OnPreHelp(CommandSource &source, const std::vector<Anope::string> &params) anope_abstract;

		/** Called when someone uses the generic/help command
		 * @param source Command source
		 * @param params Params
		 */
		virtual void OnPostHelp(CommandSource &source, const std::vector<Anope::string> &params) anope_abstract;
	};
}