summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2010-12-07 07:59:30 +0100
committerAdam <Adam@anope.org>2010-12-12 19:37:03 -0500
commit099ead02a57e6081706e628b1e3d5ebf97ab7d94 (patch)
treecbd2018711ac937b4110e0ffb2fc01308a864450 /include/modules.h
parentf1d04a2f8e4e9077d07a94b64478bb331b49bbc0 (diff)
store the ssl fingerprint in the userstruct
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index 55697dbb9..0afd033a3 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -907,6 +907,12 @@ class CoreExport Module : public Extensible
*/
virtual void OnNickInfo(User *u, NickAlias *na, bool ShowHidden) { }
+ /** Called when we get informed about a users SSL fingerprint
+ * when we call this, the fingerprint should already be stored in the user struct
+ * @param u pointer to the user
+ */
+ virtual void OnFingerprint(User *u) { }
+
/** Called when a vhost is deleted
* @param na The nickalias of the vhost
*/
@@ -1032,7 +1038,7 @@ enum Implementation
I_OnNickRegister, I_OnNickSuspended, I_OnNickUnsuspended,
I_OnDelNick, I_OnDelCore, I_OnChangeCoreDisplay,
I_OnDelNickRequest, I_OnMakeNickRequest, I_OnNickClearAccess, I_OnNickAddAccess, I_OnNickEraseAccess,
- I_OnNickInfo,
+ I_OnNickInfo, I_OnFingerprint,
/* ChanServ */
I_OnChanForbidden, I_OnChanSuspend, I_OnChanDrop, I_OnPreChanExpire, I_OnChanExpire, I_OnAccessAdd, I_OnAccessChange,