From ae07ea9da14736a52fc335eef6766c549d7f5e57 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 19 Oct 2018 11:50:11 +0100 Subject: [PATCH] Actually by-default give people the default wallet --- modules/coins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):