From 2c7c12e9e04b07f58408d7e9ede7225e993fd9f0 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 23 Jan 2019 11:26:01 +0000 Subject: [PATCH] Typo, `server.get_value` -> `server.get_setting` (coins.py) --- modules/coins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/coins.py b/modules/coins.py index 48085238..561c9f2a 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -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)