Changed the capabilities separator to ';' since we use ',' in the actual

capabilities.
This commit is contained in:
James Vega 2004-01-27 22:34:21 +00:00
parent 3e2f3b7f77
commit 0e3a4c37e1
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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()