idiocy, part 2

This commit is contained in:
Christine Dodrill 2015-12-30 20:19:52 -08:00
parent 441a5707b9
commit efc5d32de7
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@ def quote(inp, nick='', chan='', db=None, admin=False):
"random or [#n]th quote by <nick> or from <#chan>/adds or deletes " \
"quote"
if nick.startswith("Kaz"):
return None
db.execute("create table if not exists quote"
"(chan, nick, add_nick, msg, time real, deleted default 0, "
"primary key (chan, nick, msg))")