Typo, server.get_value
-> server.get_setting
(coins.py)
This commit is contained in:
parent
756938a4c9
commit
2c7c12e9e0
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ class Module(ModuleManager.BaseModule):
|
|||
@utils.hook("timer.coin-interest")
|
||||
def interest(self, event):
|
||||
for server in self.bot.servers.values():
|
||||
if not server.get_value("coin-interest", False):
|
||||
if not server.get_setting("coin-interest", False):
|
||||
continue
|
||||
all_coins = self._all_coins(server)
|
||||
|
||||
|
|
Loading…
Reference in a new issue