assign option to correct instance
This commit is contained in:
parent
de2cb1692e
commit
68e92ae5b4
|
@ -1106,8 +1106,8 @@ class ServerCommandProcessor(CommandProcessor):
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
setattr(self, option_name, attrtype(option))
|
setattr(self.ctx, option_name, attrtype(option))
|
||||||
self.output(f"Set option {option_name} to {getattr(self, option_name)}")
|
self.output(f"Set option {option_name} to {getattr(self.ctx, option_name)}")
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
known = (f"{option}:{otype}" for option, otype in self.simple_options.items())
|
known = (f"{option}:{otype}" for option, otype in self.simple_options.items())
|
||||||
|
|
Loading…
Reference in New Issue