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

namespace Event
{
	struct CoreExport ChanDrop : Events
	{
		/** Called right before a channel is dropped
		 * @param source The user dropping the channel
		 * @param ci The channel
		 */
		virtual EventReturn OnChanDrop(CommandSource &source, ChanServ::Channel *ci) anope_abstract;
	};
}

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