mirror of https://github.com/kami-blue/client
Remove greentext from special beginning in AntiSpam ...
... due to there already being a greentext setting
This commit is contained in:
parent
fe28061ee8
commit
846dda9e4a
|
@ -292,7 +292,7 @@ class AntiSpam : Module() {
|
||||||
"i just.*thanks to",
|
"i just.*thanks to",
|
||||||
"i just.*using")
|
"i just.*using")
|
||||||
val SPECIAL_BEGINNING = arrayOf(
|
val SPECIAL_BEGINNING = arrayOf(
|
||||||
"^[.,/?!()\\[\\]{}<>|\\-+=\\\\]")
|
"^[.,/?!()\\[\\]{}<|\\-+=\\\\]")
|
||||||
val SPECIAL_ENDING = arrayOf(
|
val SPECIAL_ENDING = arrayOf(
|
||||||
"[/@#^()\\[\\]{}<>|\\-+=\\\\]$")
|
"[/@#^()\\[\\]{}<>|\\-+=\\\\]$")
|
||||||
}
|
}
|
||||||
|
@ -300,4 +300,4 @@ class AntiSpam : Module() {
|
||||||
private fun sendResult(name: String, message: String) {
|
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")
|
if (showBlocked.value == ShowBlocked.CHAT) MessageSendHelper.sendChatMessage("$chatName$name: $message") else if (showBlocked.value == ShowBlocked.LOG_FILE) KamiMod.log.info("$chatName$name: $message")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue