Function spamProtection
This function attempts to protect from spammed messages and the like. The time taken depends on error_type - generally uses the modSetting.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Security.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Security.php
string |
$error_type |
The error type. Also used as a $txt index (not an actual string). |
boolean |
$only_return_result = false |
Whether you want the function to die with a fatal_lang_error. |
boolean
|
Whether they've posted within the limit |