diff options
| author | 2018-10-19 11:50:11 +0100 | |
|---|---|---|
| committer | 2018-10-19 11:50:11 +0100 | |
| commit | ae07ea9da14736a52fc335eef6766c549d7f5e57 (patch) | |
| tree | 29884b1ff19dc937d330febf71c301ce67ee85b1 | |
| parent | Use genexprs for sum() throughout modules/coins.py (diff) | |
| signature | ||
Actually by-default give people the default wallet
| -rw-r--r-- | modules/coins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/coins.py b/modules/coins.py index f8885aa3..cfdba63b 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -65,7 +65,7 @@ class Module(ModuleManager.BaseModule): self._set_pool(server, coins+amount) def _get_user_wallets(self, user): - return user.get_setting("wallets", {}) + return user.get_setting("wallets", {WALLET_DEFAULT: "0.0"}) def _set_user_wallets(self, user, wallets): user.set_setting("wallets", wallets) def _reset_user_wallets(self, user): |
