summaryrefslogtreecommitdiff
path: root/include/modules/nickserv/group.h
blob: b4648498f22a453b3ffa1317504c786da71a8b72 (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
/*
 *
 * (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
	{
		static constexpr const char *NAME = "nickgroup";

		using Events::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;
	};
}