Fixed ugliness (tons of returns?) and SyntaxError (missing parenthese).

This commit is contained in:
Jeremy Fincher 2003-08-26 11:25:43 +00:00
parent cfe4ce14a9
commit 0cf31453bc
1 changed files with 0 additions and 2 deletions

View File

@ -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):