mirror of
https://github.com/znc/znc.git
synced 2026-05-05 21:12:37 +02:00
Rename new callback, fix build
This commit is contained in:
@@ -41,12 +41,12 @@ class CSASLMechanismPlain : public CModule {
|
||||
return HALTMODS;
|
||||
}
|
||||
|
||||
auto spAuth = std::make_shared<CClientAuth>(this, sAuthcId, sPassword);
|
||||
auto spAuth = std::make_shared<CClientAuth>(GetClient(), sAuthcId, sPassword);
|
||||
CZNC::Get().AuthUser(spAuth);
|
||||
return HALTMODS;
|
||||
}
|
||||
|
||||
void OnGetSASLMechanisms(SCString& ssMechanisms) override {
|
||||
void OnClientGetSASLMechanisms(SCString& ssMechanisms) override {
|
||||
ssMechanisms.insert("PLAIN");
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user