mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Rename new callback, fix build
This commit is contained in:
@@ -112,7 +112,7 @@ EModRet OnUnknownUserRaw(CClient* pClient, CString& sLine)
|
||||
EModRet OnUnknownUserRawMessage(CMessage& Message)
|
||||
bool IsClientCapSupported(CClient* pClient, const CString& sCap, bool bState)
|
||||
void OnClientCapRequest(CClient* pClient, const CString& sCap, bool bState)
|
||||
void OnGetSASLMechanisms(SCString& ssMechanisms)
|
||||
void OnClientGetSASLMechanisms(SCString& ssMechanisms)
|
||||
EModRet OnSASLServerChallenge(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)
|
||||
|
||||
@@ -194,7 +194,7 @@ class ZNC_EXPORT_LIB_EXPORT CPyModule : public CModule {
|
||||
bool bState) override;
|
||||
void OnClientCapRequest(CClient* pClient, const CString& sCap,
|
||||
bool bState) override;
|
||||
void OnGetSASLMechanisms(SCString& ssMechanisms) override;
|
||||
void OnClientGetSASLMechanisms(SCString& ssMechanisms) override;
|
||||
EModRet OnSASLServerChallenge(const CString& sMechanism,
|
||||
CString& sResponse) override;
|
||||
EModRet OnClientSASLAuthenticate(const CString& sMechanism,
|
||||
|
||||
@@ -478,7 +478,7 @@ class Module:
|
||||
def OnClientCapRequest(self, pClient, sCap, bState):
|
||||
pass
|
||||
|
||||
def OnGetSASLMechanisms(self, ssMechanisms):
|
||||
def OnClientGetSASLMechanisms(self, ssMechanisms):
|
||||
pass
|
||||
|
||||
def OnSASLServerChallenge(self, sMechanism, sResponse):
|
||||
|
||||
Reference in New Issue
Block a user