diff --git a/cyrusauthldap.cpp b/cyrusauthldap.cpp index df57034..314622c 100644 --- a/cyrusauthldap.cpp +++ b/cyrusauthldap.cpp @@ -103,7 +103,7 @@ class CSASLAuthMod : public CModule { return true; } - virtual EModRet OnLoginAttempt(CSmartPtr Auth) { + virtual EModRet OnLoginAttempt(std::shared_ptr Auth) { const CString& sUsername = Auth->GetUsername(); const CString& sPassword = Auth->GetPassword(); CUser *pUser(CZNC::Get().FindUser(sUsername));