show server aliases in !specsup

This commit is contained in:
jesopo 2020-02-08 19:00:22 +00:00
parent 4e9df2c552
commit 632d4eb7b0

View file

@ -18,8 +18,8 @@ class Module(ModuleManager.BaseModule):
port = str(server.connection_params.port)
if server.connection_params.tls:
port = "+%s" % port
supporting_servers.append("%s:%s (%s)" % (
server.connection_params.hostname, port,
supporting_servers.append("%s (%s:%s %s)" % (
str(server), server.connection_params.hostname, port,
server.version))
if supporting_servers:
event["stdout"].write("%s: %s" % (spec,