Navigation

Search

spamProtection

Description

Attempts to protect from spammed messages and the like.

Syntax

void spamProtection (string $error_type)



Parameter $error_type

Expected type: String
Description: The index of the $txt array to be used for the error message if attempted spam is detected...


Notes

  • Takes a $txt index. (not an actual string.)
  • Depends on the spamWaitTime setting.
View all versions of this function