Forgot a return after an irc.error.

This commit is contained in:
Jeremy Fincher 2003-09-18 15:45:43 +00:00
parent a02282c957
commit 287c9028a5
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ class Lookup(callbacks.Privmsg):
(key, value) = line.split(':', 1)
except ValueError:
irc.error(msg, 'Invalid line in %s: %r' % (filename, line))
return
cursor.execute(sql, key, value)
cursor.execute("CREATE INDEX %s_keys ON %s (key)" % (name, name))
db.commit()