Remove greentext from special beginning in AntiSpam ...

... due to there already being a greentext setting
This commit is contained in:
Dominika 2020-05-13 18:07:51 -04:00 committed by GitHub
parent fe28061ee8
commit 846dda9e4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@ class AntiSpam : Module() {
"i just.*thanks to",
"i just.*using")
val SPECIAL_BEGINNING = arrayOf(
"^[.,/?!()\\[\\]{}<>|\\-+=\\\\]")
"^[.,/?!()\\[\\]{}<|\\-+=\\\\]")
val SPECIAL_ENDING = arrayOf(
"[/@#^()\\[\\]{}<>|\\-+=\\\\]$")
}
@ -300,4 +300,4 @@ class AntiSpam : Module() {
private fun sendResult(name: String, message: String) {
if (showBlocked.value == ShowBlocked.CHAT) MessageSendHelper.sendChatMessage("$chatName$name: $message") else if (showBlocked.value == ShowBlocked.LOG_FILE) KamiMod.log.info("$chatName$name: $message")
}
}
}