mod_admin_notify/README.markdown
author Kim Alvefur <zash@zash.se>
Sat, 02 Mar 2024 14:42:27 +0100
changeset 5854 0358fcf14cd6
parent 4242 e97c509fdbe3
permissions -rw-r--r--
mod_debug_traceback: Remove direct POSIX signal handling, require Prosody 0.12+ Hooking an event is safer than directly hooking signals For context see Prosody trunk rev 69faf3552d52

---
labels:
- 'Stage-Alpha'
summary: API to notify server admins
---

# Introduction

This module provides an API for other module developers to send
notification messages to host admins.

# Configuration

None required.

# Developers

Example:

```
local notify_admins = module:depends("admin_notify").notify;

notify("This is an important message for you, admins")
```

# Compatibility

Prosody trunk or later. Incompatible with 0.11 or lower.