also support 'realname' in !editserver

This commit is contained in:
jesopo 2019-08-30 11:53:57 +01:00
parent fd0ad283f8
commit 8a2e364ffd

View file

@ -166,7 +166,7 @@ class Module(ModuleManager.BaseModule):
value_parsed = value
elif option == "bindhost":
value_parsed = value
elif option in ["nickname", "username"]:
elif option in ["nickname", "username", "realname"]:
value_parsed = value
else:
raise utils.EventError("Unknown option '%s'" % option)