def del_quote(db, nick, msg):
 query = qtable.update().where((qtable.c.chan == 1)).where((qtable.c.nick == nick.lower())).where((qtable.c.msg == msg)).values(deleted=1)
 db.execute(query)
 db.commit()

def del_quote ( db , nick , msg ) : query = qtable . update ( ) . where ( ( qtable . c . chan == 1 ) ) . where ( ( qtable . c . nick == nick . lower ( ) ) ) . where ( ( qtable . c . msg == msg ) ) . values ( deleted = 1 ) db . execute ( query ) db . commit ( )
deletes a quote from a nick .