boldify hostname in !specsup
This commit is contained in:
parent
632d4eb7b0
commit
f0007a760c
1 changed files with 5 additions and 3 deletions
|
@ -18,9 +18,11 @@ class Module(ModuleManager.BaseModule):
|
||||||
port = str(server.connection_params.port)
|
port = str(server.connection_params.port)
|
||||||
if server.connection_params.tls:
|
if server.connection_params.tls:
|
||||||
port = "+%s" % port
|
port = "+%s" % port
|
||||||
supporting_servers.append("%s (%s:%s %s)" % (
|
hostname = utils.irc.bold("%s:%s" % (
|
||||||
str(server), server.connection_params.hostname, port,
|
server.connection_params.hostname, port))
|
||||||
server.version))
|
|
||||||
|
supporting_servers.append("%s (%s %s)" % (
|
||||||
|
str(server), hostname, server.version))
|
||||||
if supporting_servers:
|
if supporting_servers:
|
||||||
event["stdout"].write("%s: %s" % (spec,
|
event["stdout"].write("%s: %s" % (spec,
|
||||||
", ".join(supporting_servers)))
|
", ".join(supporting_servers)))
|
||||||
|
|
Loading…
Reference in a new issue