mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
rename next sasl module hook
This commit is contained in:
@@ -113,7 +113,7 @@ EModRet OnUnknownUserRawMessage(CMessage& Message)
|
||||
bool IsClientCapSupported(CClient* pClient, const CString& sCap, bool bState)
|
||||
void OnClientCapRequest(CClient* pClient, const CString& sCap, bool bState)
|
||||
void OnClientGetSASLMechanisms(SCString& ssMechanisms)
|
||||
EModRet OnSASLServerChallenge(const CString& sMechanism, CString& sResponse)
|
||||
EModRet OnClientSASLServerInitialChallenge(const CString& sMechanism, CString& sResponse)
|
||||
EModRet OnClientSASLAuthenticate(const CString& sMechanism, const CString& sBuffer, CString& sUser, CString& sMechanismResponse, bool& bAuthenticationSuccess)
|
||||
EModRet OnModuleLoading(const CString& sModName, const CString& sArgs, CModInfo::EModuleType eType, bool& bSuccess, CString& sRetMsg)
|
||||
EModRet OnModuleUnloading(CModule* pModule, bool& bSuccess, CString& sRetMsg)
|
||||
|
||||
@@ -195,11 +195,10 @@ class ZNC_EXPORT_LIB_EXPORT CPyModule : public CModule {
|
||||
void OnClientCapRequest(CClient* pClient, const CString& sCap,
|
||||
bool bState) override;
|
||||
void OnClientGetSASLMechanisms(SCString& ssMechanisms) override;
|
||||
EModRet OnSASLServerChallenge(const CString& sMechanism,
|
||||
CString& sResponse) override;
|
||||
EModRet OnClientSASLServerInitialChallenge(const CString& sMechanism,
|
||||
CString& sResponse) override;
|
||||
EModRet OnClientSASLAuthenticate(const CString& sMechanism,
|
||||
const CString& sBuffer,
|
||||
CString& sUser,
|
||||
const CString& sBuffer, CString& sUser,
|
||||
CString& sMechanismResponse,
|
||||
bool& bAuthenticationSuccess) override;
|
||||
virtual EModRet OnModuleLoading(const CString& sModName,
|
||||
|
||||
@@ -481,7 +481,7 @@ class Module:
|
||||
def OnClientGetSASLMechanisms(self, ssMechanisms):
|
||||
pass
|
||||
|
||||
def OnSASLServerChallenge(self, sMechanism, sResponse):
|
||||
def OnClientSASLServerInitialChallenge(self, sMechanism, sResponse):
|
||||
pass
|
||||
|
||||
def OnClientSASLAuthenticate(self, sMechanism, sBuffer, sUser, sResponse, bAuthenticationSuccess):
|
||||
|
||||
Reference in New Issue
Block a user