forked from rDrama/rDrama
1
0
Fork 0

delete carp exceptions

master
Aevann 2024-02-06 03:41:17 +02:00
parent e990757bda
commit c203e82fee
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ def after_request(response):
g.db.add(g.v)
if FEATURES['IP_LOGGING']:
if g.v.admin_level < PERMS['EXEMPT_FROM_IP_LOGGING'] and user_id != CARP_ID:
if g.v.admin_level < PERMS['EXEMPT_FROM_IP_LOGGING']:
ip = get_IP()
if ip:
existing = g.db.query(IPLog).filter_by(user_id=user_id, ip=ip).one_or_none()

View File

@ -57,7 +57,7 @@ def add_alt(user1, user2):
if session.get("GLOBAL"):
return
if AEVANN_ID in (user1, user2) or CARP_ID in (user1, user2):
if AEVANN_ID in (user1, user2):
return
li = [user1, user2]