Typo, server.get_value -> server.get_setting (coins.py)

This commit is contained in:
jesopo 2019-01-23 11:26:01 +00:00
parent 756938a4c9
commit 2c7c12e9e0

View file

@ -438,7 +438,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("timer.coin-interest") @utils.hook("timer.coin-interest")
def interest(self, event): def interest(self, event):
for server in self.bot.servers.values(): for server in self.bot.servers.values():
if not server.get_value("coin-interest", False): if not server.get_setting("coin-interest", False):
continue continue
all_coins = self._all_coins(server) all_coins = self._all_coins(server)