Spam avoidance:
* Added a blacklist
This commit is contained in:
parent
f51dc890be
commit
a0969526f9
@ -99,6 +99,8 @@ if cname and ctext and ctitle:
|
|||||||
.replace(">", ">") \
|
.replace(">", ">") \
|
||||||
.replace("\"", """)
|
.replace("\"", """)
|
||||||
|
|
||||||
|
# TODO: Read file with spam words
|
||||||
|
|
||||||
# Add comment
|
# Add comment
|
||||||
comments_file = glob.glob(entries_dir + ctitle + '.comments')
|
comments_file = glob.glob(entries_dir + ctitle + '.comments')
|
||||||
if not comments_file:
|
if not comments_file:
|
||||||
|
Loading…
Reference in New Issue
Block a user