Merge pull request #81 from fosslinux/master

fix typo; closes issue #80
This commit is contained in:
jesopo 2019-07-06 08:08:42 +01:00 committed by GitHub
commit 36fb2535c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,7 @@ class Module(ModuleManager.BaseModule):
def _command_method(self, target, server): def _command_method(self, target, server):
return target.get_setting(COMMAND_METHOD, return target.get_setting(COMMAND_METHOD,
server.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): def _find_command_hook(self, server, command, is_channel, args_split):
if not self.has_command(command): if not self.has_command(command):