From 679b8fbaee8de7f06defa88bfbae1cb6fdfb9fbd Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sun, 14 Sep 2003 07:39:39 +0000 Subject: [PATCH] Fixed output in the face of a single responding dictionary. --- plugins/Dict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Dict.py b/plugins/Dict.py index bbb742ea7..6886d83f2 100644 --- a/plugins/Dict.py +++ b/plugins/Dict.py @@ -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)