This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
htmlhouse
/
htmlhouse
огледало од
https://github.com/writeas/htmlhouse
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Издања
2
Activity
Преглед изворни кода
Automatically pass public filter when no blacklist configured
pull/4/head
Matt Baer
пре 6 година
родитељ
2caebcfecf
комит
7893f07a80
1 измењених фајлова
са
4 додато
и
0 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
filter.go
+ 4
- 0
filter.go
Прегледај датотеку
@@ -1,6 +1,10 @@
package htmlhouse
func passesPublicFilter(app *app, html string) bool {
if app.cfg.BlacklistTerms == "" {
return true
}
spam := app.cfg.BlacklistReg.MatchString(html)
return !spam
}
Write
Preview
Loading…
Откажи
Сачувај