forked from MarseyWorld/MarseyWorld
delete carp exceptions
parent
e990757bda
commit
c203e82fee
|
@ -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()
|
||||
|
|
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue