spec[2] is a string, not an array of strings

This commit is contained in:
jesopo 2020-02-08 11:00:31 +00:00
parent 1d51b43c22
commit de7d35015e

View file

@ -154,7 +154,7 @@ class Module(ModuleManager.BaseModule):
raise utils.EventError("Unknown server '%s'" % alias) raise utils.EventError("Unknown server '%s'" % alias)
option = event["spec"][1].lower() option = event["spec"][1].lower()
value = " ".join(event["spec"][2]) value = event["spec"][2]
value_parsed = None value_parsed = None
if option == "hostname": if option == "hostname":