summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/quotes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/quotes.py b/modules/quotes.py
index cf3c794..bea34e3 100644
--- a/modules/quotes.py
+++ b/modules/quotes.py
@@ -112,9 +112,9 @@ class IRCHandler(Quotes):
results = Quotes.find(self, args, func)
leftovers = []
if len(results) > 1:
- yield 'Quote: Found \002%d\002 results for "%s"%s' % (len(results), args, ', here are the last two:' if len(results) > 2 else ':' if len(results) else '')
+ yield 'Quote: Found \002%d\002 results for "%s"%s' % (len(results), args, ', here are the last two:' if len(results) > 3 else ':' if len(results) else '')
if len(results):
- if len(results) > 2:
+ if len(results) > 3:
leftovers, results = results[:-2], results[-2:]
for l in self.output(results):
yield l