mirror of
https://github.com/znc/znc.git
synced 2026-05-02 19:42:32 +02:00
Various SASL changes
This commit is contained in:
@@ -1203,8 +1203,7 @@ void CModule::InternalServerDependentCapsOnClientCapRequest(CClient* pClient,
|
||||
}
|
||||
|
||||
CModule::EModRet CModule::OnClientSASLAuthenticate(
|
||||
const CString& sMechanism, const CString& sBuffer, CString& sUser,
|
||||
CString& sMechanismResponse, bool& bAuthenticationSuccess) {
|
||||
const CString& sMechanism, const CString& sBuffer) {
|
||||
return CONTINUE;
|
||||
}
|
||||
|
||||
@@ -1215,6 +1214,8 @@ CModule::EModRet CModule::OnClientSASLServerInitialChallenge(
|
||||
|
||||
void CModule::OnClientGetSASLMechanisms(SCString& ssMechanisms) {}
|
||||
|
||||
void CModule::OnClientSASLAborted() {}
|
||||
|
||||
CModule::EModRet CModule::OnModuleLoading(const CString& sModName,
|
||||
const CString& sArgs,
|
||||
CModInfo::EModuleType eType,
|
||||
@@ -1761,12 +1762,8 @@ bool CModules::OnClientCapRequest(CClient* pClient, const CString& sCap,
|
||||
}
|
||||
|
||||
bool CModules::OnClientSASLAuthenticate(const CString& sMechanism,
|
||||
const CString& sBuffer,
|
||||
CString& sUser,
|
||||
CString& sResponse,
|
||||
bool& bAuthenticationSuccess) {
|
||||
MODHALTCHK(OnClientSASLAuthenticate(sMechanism, sBuffer, sUser,
|
||||
sResponse, bAuthenticationSuccess));
|
||||
const CString& sBuffer) {
|
||||
MODHALTCHK(OnClientSASLAuthenticate(sMechanism, sBuffer));
|
||||
}
|
||||
|
||||
bool CModules::OnClientSASLServerInitialChallenge(const CString& sMechanism,
|
||||
@@ -1779,6 +1776,11 @@ bool CModules::OnClientGetSASLMechanisms(SCString& ssMechanisms) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CModules::OnClientSASLAborted() {
|
||||
MODUNLOADCHK(OnClientSASLAborted());
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CModules::OnModuleLoading(const CString& sModName, const CString& sArgs,
|
||||
CModInfo::EModuleType eType, bool& bSuccess,
|
||||
CString& sRetMsg) {
|
||||
@@ -2064,6 +2066,7 @@ void CModules::GetDefaultMods(set<CModInfo>& ssMods,
|
||||
{"chansaver", CModInfo::UserModule},
|
||||
{"controlpanel", CModInfo::UserModule},
|
||||
{"corecaps", CModInfo::GlobalModule},
|
||||
{"saslplain", CModInfo::GlobalModule},
|
||||
{"simple_away", CModInfo::NetworkModule},
|
||||
{"webadmin", CModInfo::GlobalModule}};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user