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

namespace Event
{
	struct CoreExport NickGroup : Events
	{
		/** Called when a user groups their nick
		 * @param u The user grouping
		 * @param target The target they're grouping to
		 */
		virtual void OnNickGroup(User *u, NickServ::Nick *target) anope_abstract;
	};
}

template<> struct EventName<Event::NickGroup> { static constexpr const char *const name = "OnNickGroup"; };