mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 22:51:01 +01:00
Changed the format of Channel.capabilities to match User.capabilities.
This commit is contained in:
parent
fd97e8d634
commit
5300ca59fd
@ -434,7 +434,9 @@ class Channel(callbacks.Privmsg):
|
|||||||
"""
|
"""
|
||||||
channel = privmsgs.getChannel(msg, args)
|
channel = privmsgs.getChannel(msg, args)
|
||||||
c = ircdb.channels.getChannel(channel)
|
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):
|
def lobotomies(self, irc, msg, args):
|
||||||
"""takes no arguments
|
"""takes no arguments
|
||||||
|
Loading…
x
Reference in New Issue
Block a user