diff options
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/nickserv.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/modules/nickserv.h b/include/modules/nickserv.h index a6921cf2e..5c9cfb341 100644 --- a/include/modules/nickserv.h +++ b/include/modules/nickserv.h @@ -89,6 +89,12 @@ namespace NickServ }; static EventHandlersReference<NickRegister> OnNickRegister; + struct CoreExport NickConfirm : Events + { + virtual void OnNickConfirm(User *, Account *) anope_abstract; + }; + static EventHandlersReference<NickConfirm> OnNickConfirm; + struct CoreExport NickValidate : Events { /** Called when a nick is validated. That is, to determine if a user is permissted @@ -297,4 +303,5 @@ namespace NickServ template<> struct EventName<NickServ::Event::PreNickExpire> { static constexpr const char *const name = "OnPreNickExpire"; }; template<> struct EventName<NickServ::Event::NickExpire> { static constexpr const char *const name = "OnNickExpire"; }; template<> struct EventName<NickServ::Event::NickRegister> { static constexpr const char *const name = "OnNickRegister"; }; +template<> struct EventName<NickServ::Event::NickConfirm> { static constexpr const char *const name = "OnNickConfirm"; }; template<> struct EventName<NickServ::Event::NickValidate> { static constexpr const char *const name = "OnNickValidate"; }; |
