mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐎 SendFunds checks for contains
This commit is contained in:
parent
61a6d67177
commit
513e0bb643
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ public:
|
|||
{
|
||||
|
||||
//cant send money to self, from self
|
||||
if (a_name == b_name)
|
||||
if (a_name == b_name || !users.contains(a_name) || !users.contains(b_name))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue