File

plugins/mod_posix.lua @ 13566:2fb4ce131131

mod_roster: do not store number in attribute Attributes are strings. That definitely is a number. So we tostring() it. This is important when the API becomes stricter, for whatever reason that might happen. Practically, this moves the overhead of converting to a string to a place where it is visible.
author Jonas Schäfer <jonas@wielicki.name>
date Sat, 16 Nov 2024 09:12:11 +0100
parent 13461:c673ff1075bd
line wrap: on
line source

-- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--

module:set_global(); -- we're a global module

-- TODO delete this whole concept