From 0cf31453bc63992096120907192ad57933701879 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 26 Aug 2003 11:25:43 +0000 Subject: [PATCH] Fixed ugliness (tons of returns?) and SyntaxError (missing parenthese). --- plugins/Quotes.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/Quotes.py b/plugins/Quotes.py index ce563b8ff..f844a06ab 100644 --- a/plugins/Quotes.py +++ b/plugins/Quotes.py @@ -110,10 +110,8 @@ class Quotes(ChannelDBHandler, callbacks.Privmsg): ret = cursor.fetchall() if ret: irc.reply(msg, ret[0][0]) - return else: irc.reply(msg, "That quote doesn't exist.") - return except ValueError: # It's not an int. r = re.compile(value, re.I) def p(s):