Changed limit to 100 instead of 10.

This commit is contained in:
Jeremy Fincher 2003-09-07 06:23:32 +00:00
parent b6993152e6
commit cfa737d1d7

View File

@ -260,7 +260,7 @@ class URLSnarfer(callbacks.Privmsg, ChannelDBHandler):
sql = """SELECT url, added, added_by
FROM urls
WHERE %s ORDER BY id DESC
LIMIT 10""" % criterion
LIMIT 100""" % criterion
cursor.execute(sql, *formats)
if cursor.rowcount == 0:
irc.reply(msg, 'No URLs matched that criteria.')