Navigation

Search

is_not_banned

Description

Checks if the user is banned. If they are, removes appropriate permissions and dies with an error.

Syntax

void is_not_banned ([bool $forceCheck])



Parameter $forceCheck

Expected type: Boolean
Description: If true, forces SMF to check again even if the ban info hasn't changed since the last check.


Notes

  • Caches this information for optimization purposes.
  • Forces a recheck if force_check is true.
View all versions of this function