Mercurial > prosody-modules
changeset 2320:d6a3362ca256
mod_server_contact_info: Add copyright header
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 01 Oct 2016 17:16:39 +0200 (2016-10-01) |
parents | 86128b948fed |
children | d9c19ee16f2e |
files | mod_server_contact_info/mod_server_contact_info.lua |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_server_contact_info/mod_server_contact_info.lua Sat Oct 01 17:16:23 2016 +0200 +++ b/mod_server_contact_info/mod_server_contact_info.lua Sat Oct 01 17:16:39 2016 +0200 @@ -1,4 +1,10 @@ --- This plugin implements http://xmpp.org/extensions/xep-0157.html +-- XEP-0157: Contact Addresses for XMPP Services for Prosody +-- +-- Copyright (C) 2011-2016 Kim Alvefur +-- +-- This file is MIT/X11 licensed. +-- + local t_insert = table.insert; local array = require "util.array"; local df_new = require "util.dataforms".new; @@ -29,6 +35,7 @@ local form_layout = { { value = "http://jabber.org/network/serverinfo"; type = "hidden"; name = "FORM_TYPE"; }; }; + local form_values = {}; for t in pairs(valid_types) do