forked from MarseyWorld/MarseyWorld
fix admin getting shadowbanned when they shadowban someone
parent
1d3fb0a19d
commit
f62e726c3c
|
@ -893,7 +893,7 @@ def shadowban(user_id, v):
|
||||||
reason = reason_regex_post.sub(r'<a href="\1">\1</a>', reason)
|
reason = reason_regex_post.sub(r'<a href="\1">\1</a>', reason)
|
||||||
reason = reason_regex_comment.sub(r'<a href="\1#context">\1</a>', reason)
|
reason = reason_regex_comment.sub(r'<a href="\1#context">\1</a>', reason)
|
||||||
|
|
||||||
v.shadowban(reason=reason)
|
user.shadowban(reason=reason)
|
||||||
check_for_alts(user)
|
check_for_alts(user)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue