Software /
code /
prosody-modules
File
mod_muc_require_tos/README.markdown @ 4739:fdd9e5d89d73
mod_bookmarks2: Fix comparison
The nick and password elements are children of the conference element,
rather than the pubsub item element passed to the function.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 03 Nov 2021 21:16:11 +0100 |
parent | 4690:82dabfffaddf |
line wrap: on
line source
--- labels: - 'Stage-Alpha' summary: Require visitors to accept something before being allowed in a room ... # Introduction This module sends a message to visitors of a room, prompting them to accept or reject it. They get kicked if they reject it, and become members if they accept it. # Setup ```lua Component "rooms.example.org" "muc" modules_enabled = { "muc_require_tos"; } tos_welcome_message = "Please read and accept the TOS of this service: https://lurk.org/TOS.txt" tos_yes_message = "Thanks, and welcome here!" tos_no_message = "Too bad." ``` Compatibility ============= ----- ----- trunk Works ----- -----