mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix modperl startup.
User.h and Utils.h should not depend on each other, and instead of name of default method need to have a function in CUtils, which hashes using default method (such function is in CUser now)
This commit is contained in:
@@ -148,6 +148,7 @@ unsigned long CUtils::GetLongIP(const CString& sIP) {
|
||||
|
||||
// If you change this here and in GetSaltedHashPass(),
|
||||
// don't forget CUser::HASH_DEFAULT!
|
||||
// TODO refactor this
|
||||
const CString CUtils::sDefaultHash = "sha256";
|
||||
CString CUtils::GetSaltedHashPass(CString& sSalt) {
|
||||
sSalt = GetSalt();
|
||||
|
||||
Reference in New Issue
Block a user