aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-07-06 08:08:42 +0100
committerGravatar GitHub2019-07-06 08:08:42 +0100
commit36fb2535c6b26870317eade9b9969b388ff12008 (patch)
treebc308dc7bd4bfd476ec6ab73e4ec7e69822bcc08
parent"paramatered" -> "parametered" (diff)
parentfix typo; closes issue #80 (diff)
Merge pull request #81 from fosslinux/master
fix typo; closes issue #80
-rw-r--r--modules/commands/__init__.py2
1 files changed, 1 insertions, 1 deletions
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):