Changed the format of Channel.capabilities to match User.capabilities.

This commit is contained in:
Jeremy Fincher 2003-12-04 07:15:14 +00:00
parent fd97e8d634
commit 5300ca59fd

View File

@ -434,7 +434,9 @@ class Channel(callbacks.Privmsg):
"""
channel = privmsgs.getChannel(msg, args)
c = ircdb.channels.getChannel(channel)
irc.reply(msg, ', '.join(c.capabilities))
L = c.capabilities[:]
L.sort()
irc.reply(msg, '[%s]' % ', '.join(L))
def lobotomies(self, irc, msg, args):
"""takes no arguments