mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Changed the capabilities separator to ';' since we use ',' in the actual
capabilities.
This commit is contained in:
parent
3e2f3b7f77
commit
0e3a4c37e1
@ -497,7 +497,7 @@ class Channel(callbacks.Privmsg):
|
|||||||
c = ircdb.channels.getChannel(channel)
|
c = ircdb.channels.getChannel(channel)
|
||||||
L = list(c.capabilities)
|
L = list(c.capabilities)
|
||||||
L.sort()
|
L.sort()
|
||||||
irc.reply('[%s]' % ', '.join(L))
|
irc.reply('[%s]' % '; '.join(L))
|
||||||
|
|
||||||
def lobotomies(self, irc, msg, args):
|
def lobotomies(self, irc, msg, args):
|
||||||
"""takes no arguments
|
"""takes no arguments
|
||||||
|
@ -317,7 +317,7 @@ class User(callbacks.Privmsg):
|
|||||||
name = privmsgs.getArgs(args)
|
name = privmsgs.getArgs(args)
|
||||||
try:
|
try:
|
||||||
user = ircdb.users.getUser(name)
|
user = ircdb.users.getUser(name)
|
||||||
irc.reply('[%s]' % ', '.join(user.capabilities))
|
irc.reply('[%s]' % '; '.join(user.capabilities))
|
||||||
except KeyError:
|
except KeyError:
|
||||||
irc.errorNoUser()
|
irc.errorNoUser()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user