Testing remotely blows.

This commit is contained in:
Jeremy Fincher 2004-08-11 23:37:41 +00:00
parent a6f03fa33a
commit 7f1c57c388

View File

@ -265,7 +265,8 @@ class Karma(callbacks.PrivmsgCommandAndRegexp):
kind = privmsgs.getArgs(args) kind = privmsgs.getArgs(args)
try: try:
kind = self._mostAbbrev[kind] kind = self._mostAbbrev[kind]
L = self.db.most(channel, kind) L = self.db.most(channel, kind,
self.registryValue('mostDisplay', channel))
if L: if L:
L = ['%r: %s' % (name, i) for (name, i) in L] L = ['%r: %s' % (name, i) for (name, i) in L]
irc.reply(utils.commaAndify(L)) irc.reply(utils.commaAndify(L))