Software / code / prosody-modules
Diff
mod_audit/mod_audit.lua @ 6335:9102d75131e4
mod_audit: Fix argument declaration of --limit
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 15 Jul 2025 12:21:23 +0200 |
| parent | 5786:6c0570a8b866 |
line wrap: on
line diff
--- a/mod_audit/mod_audit.lua Tue Jul 15 01:46:38 2025 +0200 +++ b/mod_audit/mod_audit.lua Tue Jul 15 12:21:23 2025 +0200 @@ -168,8 +168,8 @@ function module.command(arg_) local jid = require "util.jid"; local arg = require "util.argparse".parse(arg_, { - value_params = { "limit" }; - }); + value_params = { limit = true }; + }); module:log("debug", "arg = %q", arg); local query_jid = jid.prep(arg[1]);