|
@@ -1120,7 +1120,7 @@ def history_plus(title, data, date, ip, send, leng, t_check = '', d_type = '', m
|
|
|
|
|
|
|
|
if not re.search('^user:', title) and mode != 'add':
|
|
if not re.search('^user:', title) and mode != 'add':
|
|
|
curs.execute(db_change("select count(*) from rc where type = 'normal'"))
|
|
curs.execute(db_change("select count(*) from rc where type = 'normal'"))
|
|
|
- if curs.fetchall()[0][0] > 49:
|
|
|
|
|
|
|
+ if curs.fetchall()[0][0] >= 200:
|
|
|
curs.execute(db_change("select id, title from rc where type = 'normal' order by date asc limit 1"))
|
|
curs.execute(db_change("select id, title from rc where type = 'normal' order by date asc limit 1"))
|
|
|
rc_data = curs.fetchall()
|
|
rc_data = curs.fetchall()
|
|
|
if rc_data:
|
|
if rc_data:
|