Fix spoiler check
This commit is contained in:
parent
36f2805d60
commit
83ad790162
|
@ -123,7 +123,7 @@ async def main():
|
||||||
if not (nsfw and allow_nsfw):
|
if not (nsfw and allow_nsfw):
|
||||||
nsfw = cpp.over_18
|
nsfw = cpp.over_18
|
||||||
if not (spoilers and allow_spoilers):
|
if not (spoilers and allow_spoilers):
|
||||||
nsfw = cpp.spoiler
|
spoilers = cpp.spoiler
|
||||||
if is_self and not allow_selfposts:
|
if is_self and not allow_selfposts:
|
||||||
continue
|
continue
|
||||||
if nsfw and not allow_nsfw:
|
if nsfw and not allow_nsfw:
|
||||||
|
@ -149,7 +149,7 @@ async def main():
|
||||||
if not (nsfw and allow_nsfw):
|
if not (nsfw and allow_nsfw):
|
||||||
nsfw = cpp.over_18
|
nsfw = cpp.over_18
|
||||||
if not (spoilers and allow_spoilers):
|
if not (spoilers and allow_spoilers):
|
||||||
nsfw = cpp.spoiler
|
spoilers = cpp.spoiler
|
||||||
if is_self and not allow_selfposts:
|
if is_self and not allow_selfposts:
|
||||||
continue
|
continue
|
||||||
if nsfw and not allow_nsfw:
|
if nsfw and not allow_nsfw:
|
||||||
|
|
Loading…
Reference in New Issue