On iscrit dans une table a part les gros uploaders
darcs-hash:20051207210231-6d78a-78626e90b79dd2aeab1e49dd5ab7de83fd3937d2.gz
This commit is contained in:
parent
f73e4a6f8a
commit
b63c939216
1 changed files with 4 additions and 0 deletions
|
@ -133,6 +133,10 @@ for IP, elupload in uploadeurs:
|
|||
###########################################
|
||||
inscription = "INSERT INTO avertis_upload (ip_crans,date,hard) VALUES ('%s','now','1')" % IP
|
||||
curseur.execute(inscription)
|
||||
# On inscrit l'ip dans la table des avertis hard :
|
||||
##################################################
|
||||
inscription = "INSERT INTO sanctions (ip_crans,date,upload) VALUES ('%s','now','%s')" % (IP,elupload)
|
||||
curseur.execute(inscription)
|
||||
|
||||
# On sanctionne
|
||||
###############
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue