blob: bae9d77b6618a3e796dee9d194efa2d7b77e5a80 (
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 NickDrop : Events
{
/** Called when a nick is dropped
* @param source The source of the command
* @param na The nick
*/
virtual void OnNickDrop(CommandSource &source, NickServ::Nick *na) anope_abstract;
};
extern CoreExport EventHandlers<NickDrop> OnNickDrop;
}
template<> struct EventName<Event::NickDrop> { static constexpr const char *const name = "OnNickDrop"; };
|