Fixed output in the face of a single responding dictionary.

This commit is contained in:
Jeremy Fincher 2003-09-14 07:39:39 +00:00
parent 3da65af7c8
commit 679b8fbaee
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class Dict(callbacks.Privmsg):
s = utils.normalizeWhitespace(s).rstrip(';.,')
L.append('%s: %s' % (db, s))
utils.sortBy(len, L)
if dictionary == '*':
if dictionary == '*' and len(dbs) > 1:
s = '%s responded: %s' % (utils.commaAndify(dbs), '; '.join(L))
else:
s = '; '.join(L)