Handle IMC ice-destroy packets.

This commit is contained in:
Greg Taylor 2009-04-30 04:05:19 +00:00
parent 181133d917
commit 9b8f1cf3ea
3 changed files with 9 additions and 5 deletions

View file

@ -63,9 +63,11 @@ def cmd_imcchanlist(command):
retval += ' Full Name Name Owner Perm Policy\n\r'
retval += ' --------- ---- ----- ---- ------\n\r'
for channel in IMC2_CHANLIST.get_channel_list():
retval += ' %-18s %-10s %-15s %-7s %s\n\r' % (channel.full_name, channel.name,
channel.owner, channel.level,
channel.policy)
retval += ' %-18s %-10s %-15s %-7s %s\n\r' % (channel.name,
channel.localname,
channel.owner,
channel.level,
channel.policy)
retval += '%s channels found.' % len(IMC2_CHANLIST.chan_list)
source_object.emit_to(retval)
GLOBAL_CMD_TABLE.add_command("imcchanlist", cmd_imcchanlist)