mod_chat_only

Run a chat-only hub. Part of the bundled plug-ins.

mod_chat_only turns the hub into a pure chat hub: it denies file searches, search results and peer-to-peer connection setup (both active and passive), so users can talk but not set up transfers through the hub. It takes no configuration string — just load it:

plugin /var/lib/uhub/mod_chat_only.so

Behaviour

The first time a user searches, or a client attempts to set up a transfer, the hub sends a one-time notice (“Searching is disabled. This is a chat only hub.” or “Connection setup denied. This is a chat only hub.”); further attempts are denied silently.

This is the plug-in form of a chat-only hub — there is no core chat_only configuration directive. To instead restrict who may talk rather than disable transfers, use the core chat_is_privileged option.