LockTopic

Description

Locks a topic, toggles between locked/unlocked/admin locked.

Syntax

void LockTopic ()


Notes

  • Only admins can unlock topics locked by other admins.
  • Requires the lock_own or lock_any permission.
  • Logs the action to the moderator log (if enabled).
  • Returns to the topic after it is done.
  • Accessed via ?action=lock.
Advertisement: