Actually return in modules/coins.py._total_coins

This commit is contained in:
jesopo 2018-10-14 08:38:58 +01:00
parent 403227b6df
commit 104e1ab185

View file

@ -79,7 +79,7 @@ class Module(ModuleManager.BaseModule):
all_coins))
all_coins = [decimal.Decimal(coin[1]) for coin in all_coins]
all_coins = sum(all_coins)
pool = self._get_pool(server)
return self._get_pool(server)+all_coins
@utils.hook("received.command.totalcoins")
def total_coins(self, event):