mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-19 01:22:14 +11:00
somehow admin vpass was !=
This commit is contained in:
parent
0b39b2bc9e
commit
c40c63252c
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ bool Bank::Contains(const std::string &name) const
|
||||||
}
|
}
|
||||||
bool Bank::AdminVerifyPass(const std::string &attempt)
|
bool Bank::AdminVerifyPass(const std::string &attempt)
|
||||||
{
|
{
|
||||||
return (admin_pass != attempt);
|
return (admin_pass == attempt);
|
||||||
}
|
}
|
||||||
|
|
||||||
int_fast8_t Bank::SetBal(const std::string &name, const std::string &attempt, uint32_t amount)
|
int_fast8_t Bank::SetBal(const std::string &name, const std::string &attempt, uint32_t amount)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue