Actually return in modules/coins.py._total_coins
This commit is contained in:
parent
403227b6df
commit
104e1ab185
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
all_coins))
|
all_coins))
|
||||||
all_coins = [decimal.Decimal(coin[1]) for coin in all_coins]
|
all_coins = [decimal.Decimal(coin[1]) for coin in all_coins]
|
||||||
all_coins = sum(all_coins)
|
all_coins = sum(all_coins)
|
||||||
pool = self._get_pool(server)
|
return self._get_pool(server)+all_coins
|
||||||
|
|
||||||
@utils.hook("received.command.totalcoins")
|
@utils.hook("received.command.totalcoins")
|
||||||
def total_coins(self, event):
|
def total_coins(self, event):
|
||||||
|
|
Loading…
Reference in a new issue