From d7f72b642ac001cc5806c6282046569ecc2eeb48 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Sat, 6 Jul 2019 17:03:46 +1000 Subject: [PATCH] fix typo; closes issue #80 --- modules/commands/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py index 9c4d2b81..6c8e9760 100644 --- a/modules/commands/__init__.py +++ b/modules/commands/__init__.py @@ -89,7 +89,7 @@ class Module(ModuleManager.BaseModule): def _command_method(self, target, server): return target.get_setting(COMMAND_METHOD, server.get_setting(COMMAND_METHOD, - self.bot.set_setting(COMMAND_METHOD, "PRIVMSG"))).upper() + self.bot.get_setting(COMMAND_METHOD, "PRIVMSG"))).upper() def _find_command_hook(self, server, command, is_channel, args_split): if not self.has_command(command):