Fixed formatting on @clist.
This commit is contained in:
parent
547a5dd139
commit
9954700bdd
2 changed files with 5 additions and 4 deletions
|
|
@ -129,15 +129,15 @@ def cmd_clist(command):
|
|||
session = command.session
|
||||
source_object = command.source_object
|
||||
|
||||
source_object.emit_to("** Channel Owner Description")
|
||||
source_object.emit_to("** Channel Owner Description")
|
||||
for chan in src.comsys.get_all_channels():
|
||||
source_object.emit_to("%s%s %-14.13s%-22.15s%s" %
|
||||
source_object.emit_to("%s%s %-15.14s%-22.15s%s" %
|
||||
('-',
|
||||
'-',
|
||||
chan.get_name(),
|
||||
chan.get_owner().get_name(show_dbref=False),
|
||||
chan.description))
|
||||
source_object.emit_to("-- End of Channel List --")
|
||||
source_object.emit_to("** End of Channel List **")
|
||||
GLOBAL_CMD_TABLE.add_command("@clist", cmd_clist),
|
||||
|
||||
def cmd_cdestroy(command):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue