blob: e816cc356bfbe14a22cefd9a50b0a94dd18647b5 (
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
|
/*
*
* (C) 2003-2014 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*
*/
namespace Event
{
struct CoreExport NickInfo : Events
{
/** Called when a user requests info for a nick
* @param source The user requesting info
* @param na The nick the user is requesting info from
* @param info Data to show the user requesting information
* @param show_hidden true if we should show the user everything
*/
virtual void OnNickInfo(CommandSource &source, NickServ::Nick *na, InfoFormatter &info, bool show_hidden) anope_abstract;
};
}
template<> struct EventName<Event::NickInfo> { static constexpr const char *const name = "OnNickInfo"; };
|