Mercurial > prosody-modules
view mod_proctitle/mod_proctitle.lua @ 4581:3e2e708fd18b
mod_adhoc_dataforms_demo: Add compat with 0.11 (vs trunk api change)
The name of the "access for anyone" permission level changed from "user"
in 0.11 to "any" in 0.12/trunk to make it clearer that it's basically
unrestricted. This is unfortunately not backwards-compatible.
Thanks to Sam for stumbling upon this during a demo.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 01 Jun 2021 19:23:32 +0200 |
parents | 94c4d4899a21 |
children |
line wrap: on
line source
-- Changes the process name to 'prosody' rather than 'lua'/'lua5.1' -- Copyright (C) 2015 Rob Hoelz -- -- This file is MIT/X11 licensed. -- To use this module, you'll need the proctitle Lua library: -- https://github.com/hoelzro/lua-proctitle local proctitle = require 'proctitle'; proctitle 'prosody';