event["channel"] -> event["target"]
This commit is contained in:
parent
32a9a39e88
commit
621fb0b396
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
args = event["args_split"][:]
|
args = event["args_split"][:]
|
||||||
nameserver = None
|
nameserver = None
|
||||||
if self.bot.get_setting("configurable-nameservers", True):
|
if self.bot.get_setting("configurable-nameservers", True):
|
||||||
nameserver = event["channel"].get_setting("dns-nameserver",
|
nameserver = event["target"].get_setting("dns-nameserver",
|
||||||
event["server"].get_setting("dns-nameserver", None))
|
event["server"].get_setting("dns-nameserver", None))
|
||||||
for i, arg in enumerate(args):
|
for i, arg in enumerate(args):
|
||||||
if arg[0] == "@":
|
if arg[0] == "@":
|
||||||
|
|
Loading…
Reference in a new issue