make quote.py use the proper db

This commit is contained in:
Ryan Hitchman 2010-02-01 01:16:16 -07:00
parent d4005ce1f6
commit bad13e2908
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ def quote(bot, input):
".q/.quote <nick/#chan> [#n]/.quote add <nick> <msg> -- gets " \
"random or [#n]th quote by <nick> or from <#chan>/adds quote"
conn = bot.get_db_connection(bot, input.server)
conn = bot.get_db_connection(input.server)
conn.execute("create table if not exists quote"
"(chan, nick, add_nick, msg, time real, deleted default 0, "
"primary key (chan, nick, msg))")