From d79dd0b7d705e8f18ae0d6494a8bc65c2b0c2819 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 1 May 2014 18:38:17 -0400 Subject: Pass password to nick register event so modules like m_ldap_authentication can create the respective account using the decrypted password which might not always be available --- include/modules.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index 90dd23807..6f7803cff 100644 --- a/include/modules.h +++ b/include/modules.h @@ -743,8 +743,9 @@ class CoreExport Module : public Extensible /** Called when a nick is registered * @param user The user registering the nick, of any * @param The nick + * @param pass The password of the newly registered nick */ - virtual void OnNickRegister(User *user, NickAlias *na) { throw NotImplementedException(); } + virtual void OnNickRegister(User *user, NickAlias *na, const Anope::string &pass) { throw NotImplementedException(); } /** Called when a nick is suspended * @param na The nick alias -- cgit