File Details
NoSpamPlease_14-05-26.zip
- R
- May 14, 2026
- 29.39 KB
- 486
- 12.0.7+5
- Classic + 3
File Name
NoSpamPlease_14-05-26.zip
Supported Versions
- 12.0.7
- 12.0.5
- 5.5.4
- 5.5.3
- 2.5.5
- 1.15.8
[2.5.2] — current
Changed
- Keyword bulk add / import — shared internal `AddKeywordToKeywordsList` used by `TryAddSingleKeyword`, `AddKeywordsFromString`, and `ImportKeywordsFromDelimitedString` so dedupe and insert rules stay identical; `/nospam import` and paste-import no longer call `TryAddSingleKeyword` per token (one `keywords` table setup per operation, less overhead on large lists).
- `AddKeywordsFromString` — trimmed tokens use `word and word ~= ""` so a nil `match` result cannot reach `string.lower` (defensive; behaviour unchanged for normal input).
- `ImportKeywordsFromDelimitedString` — same early-exit style as add-from-string (`NoSpamDB and text and text ~= ""`); initializes the keyword list once per import instead of per token via `TryAddSingleKeyword`.