forked from MarseyWorld/MarseyWorld
better shadowban propagation
parent
7ce7841fe6
commit
129f335363
|
@ -896,6 +896,22 @@ def shadowban(user_id, v):
|
||||||
g.db.add(user)
|
g.db.add(user)
|
||||||
check_for_alts(user, False)
|
check_for_alts(user, False)
|
||||||
|
|
||||||
|
for u in user.alts_unique:
|
||||||
|
u.shadowbanned = v.id
|
||||||
|
g.db.add(u)
|
||||||
|
for u in u.alts_unique:
|
||||||
|
u.shadowbanned = v.id
|
||||||
|
g.db.add(u)
|
||||||
|
for u in u.alts_unique:
|
||||||
|
u.shadowbanned = v.id
|
||||||
|
g.db.add(u)
|
||||||
|
for u in u.alts_unique:
|
||||||
|
u.shadowbanned = v.id
|
||||||
|
g.db.add(u)
|
||||||
|
for u in u.alts_unique:
|
||||||
|
u.shadowbanned = v.id
|
||||||
|
g.db.add(u)
|
||||||
|
|
||||||
ma = ModAction(
|
ma = ModAction(
|
||||||
kind="shadowban",
|
kind="shadowban",
|
||||||
user_id=v.id,
|
user_id=v.id,
|
||||||
|
|
Loading…
Reference in New Issue