Annotate
mod_readonly/README.markdown @ 5353:14b6397cd6de
mod_audit_status: Fix error on first start
Fixes 'attempt to index a nil value' the first time this module is
loaded, since there's no data yet.
| author |
Kim Alvefur <zash@zash.se> |
| date |
Tue, 18 Apr 2023 21:48:31 +0200 |
| parent |
3437:ce5d1fa69ba3 |
| rev |
line source |
|
3437
|
1 This module blocks configured queries that change server state.
|
|
|
2
|
|
|
3 E.g. to make vCard storage read-only:
|
|
|
4
|
|
|
5 ``` lua
|
|
|
6 readonly_stores = {
|
|
|
7 vcard = { "vcard-temp", "vCard" };
|
|
|
8 }
|
|
|
9 ```
|