Add copyright header to those files missing one
authorMatthew Wild <mwild1@gmail.com>
Fri, 10 Jul 2009 02:08:38 +0000 (03:08 +0100)
committerMatthew Wild <mwild1@gmail.com>
Fri, 10 Jul 2009 02:08:38 +0000 (03:08 +0100)
36 files changed:
core/actions.lua
core/eventmanager.lua
core/hostmanager.lua
core/loggingmanager.lua
core/objectmanager.lua
fallbacks/bit.lua
net/adns.lua
net/http.lua
net/httpclient_listener.lua
net/httpserver.lua
net/httpserver_listener.lua
net/server.lua
plugins/mod_actions_http.lua
plugins/mod_announce.lua
plugins/mod_bosh.lua
plugins/mod_groups.lua
plugins/mod_httpserver.lua
plugins/mod_iq.lua
plugins/mod_message.lua
plugins/mod_muc.lua
plugins/mod_offline.lua
plugins/mod_pep.lua
plugins/mod_posix.lua
plugins/mod_privacy.lua
plugins/mod_watchregistrations.lua
tests/test_util_stanza.lua
tests/util/logger.lua
util/array.lua
util/dataforms.lua
util/events.lua
util/hmac.lua
util/iterators.lua
util/pluginloader.lua
util/prosodyctl.lua
util/pubsub.lua
util/set.lua

index d0be5aeb5093300e1e635e665cd2fa4f7b91a1c5..5c2525e00f2dbf968fa0d8ac3132acfca1c198c3 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 \r
 local actions = {};\r
 \r
index 04f2256f98f74f101d7f509b3162810bfd62ac5c..e1cc9d2e81a54db9f081aee704bbcee80fc85d9e 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local t_insert = table.insert;
 local ipairs = ipairs;
index 0dd2c9d879a40f18485fc139eaf50f76d85c02ba..c7b975d1f6dcebc141ff7f8294c88d29436d5455 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local hosts = hosts;
 local configmanager = require "core.configmanager";
index 2be21a1771cd6e81c16ab1a7a56d9fb4a589f21b..1d2f8d7df9ccf6f5edb5d34d8caec097143eded5 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local format, rep = string.format, string.rep;
 local pcall = pcall;
index b8e5eb3f498a9c22e28343f7782e00079d14db82..e96cbd90ae636e111dd20a97123ab73a410fb7db 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 \r
 local new_multitable = require "util.multitable".new;\r
 local t_insert = table.insert;\r
index 86e3b4a489db9ee5d6aa1f9c61c92003f41c94cb..75109d40471ef0b9ed4d058ef882523cbdd4c3e3 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local type = type;
 local tonumber = tonumber;
index e219ffa7f5ac9821e042c03cb20a2fc383e49fd9..34ef5d770dae27d19ca867f555ef8165176e56b3 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local server = require "net.server";
 local dns = require "net.dns";
 
index 10d966310377d7e54912ab9b81378b99e3bf5ec4..9d2f9b968f2ec3e7173176bb80af5b996cef620c 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local socket = require "socket"
 local mime = require "mime"
index a648743fb348dfff30f08173e6c8a072028125e8..69b7946b9f1441ee6dd123a65116e784e45059da 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local log = require "util.logger".init("httpclient_listener");
 
 local connlisteners_register = require "net.connlisteners".register;
index 8ce25f356c23799a99a171e402f0e4dfc658eb3c..d159202efeab05f6cdc81601093758529b80d5c7 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local socket = require "socket"
 local server = require "net.server"
index f7fb7f4e3fce778c593de7d720bad194866b1895..48ade157e12c92665657769e6182313441c311af 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 
 local connlisteners_register = require "net.connlisteners".register;
index 3491b190e8fdb26d75c1748779cc254f89ce640d..ca6e6380f79f4b945f3fc76c5004a712652e1ebc 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 --[[\r
 \r
         server.lua by blastbeat\r
index 43370a4183cfa513cef359b43c13ee9e96550f9c..c60697938ac4d9e798ce120fbf040ac989272f3d 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local httpserver = require "net.httpserver";
 local t_concat, t_insert = table.concat, table.insert;
index 010b45d9ee078c53e651fad00c69c5e4675105a7..118ba13d3a56e50243ab1bf8f184526c359afbb3 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local st, jid, set = require "util.stanza", require "util.jid", require "util.set";
 
 local is_admin = require "core.usermanager".is_admin;
index 46e9a95f6e466073b4ba04c7c7fbdb4628d067c2..b07238bd6aa94596d3d0d5f0f04c7d636a7b1a4a 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 module.host = "*" -- Global module
 
index 7a5817174b4208951056509b78f93cc676682841..f31bb1a883d9e1ae331c4b30a50f34f55df7340f 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local groups = { default = {} };
 local members = { [false] = {} };
index ec22a4bf9789a3c73164f13e5f0d89498d525f10..98a3a36ea19929b3eed6a92300493e20821e8dd7 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local httpserver = require "net.httpserver";
 
index 30afb38c82824f881f449b822f0b1749b9c98120..5be045335c478e256913228207d31fc76b6f3719 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local st = require "util.stanza";
 local jid_split = require "util.jid".split;
index b56aef0a80977933c33e5e271b98d80885fecf48..395307ba582221ff4c7b4df02dc108876a1f0070 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local full_sessions = full_sessions;
 local bare_sessions = bare_sessions;
index 4f695b1794a48d63cb2cd2d252715bd483653b7e..e99ef83c0adab6f39a69d05b9e7036027750b5d3 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 if module:get_host_type() ~= "component" then
        error("MUC should be loaded as a component, please see http://prosody.im/doc/components", 0);
index 4fb82cc0d3efc4306ce0227f04930a6407c47f68..c9acf9e6ae0c09c5c08616c9fcf574cd27ecfe2f 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 \r
 local datamanager = require "util.datamanager";\r
 local st = require "util.stanza";\r
index 0be681fbcae4a5f390a2017d8192f30fc94f431a..8cc4aedfb6004a5c85417802c8608273b8a2fc8a 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local jid_bare = require "util.jid".bare;
 local jid_split = require "util.jid".split;
index a97b7f1be2aec6370026fc76450d3199856a916c..c00482c521dddafbe30a901971b39034d5e8bfc9 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local want_pposix_version = "0.3.0";
 
index 9f8a149bd4894cc0ff3e9dfc0477c4b5eebb024e..8c319bdece5fef521cc86e503f8b5f622f75158a 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local st = require "util.stanza";
 local datamanager = require "util.datamanager";
index 93e69208d02a4fb9ec4b4d16a37bf0808afa0ba2..9457313f6b08f07d7e191d8dc2f6326b4f53e20c 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local host = module:get_host();
 
index f4c4810a57ca87622a6116b013059b602eb5e280..0819f2c75a3690d3f10b127d8ea452ea07446db5 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 function preserialize(preserialize, st)
        local stanza = st.stanza("message", { a = "a" });
index ce0a23026c894949995bd7554c76eee368a5207f..003c5946a391ce11872db6093d7a9ae8cb41376f 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local format = string.format;
 local print = print;
 local debug = debug;
index 05e035dfbae8c99a99babd695ce0a2acab9e730a..ce5ce07747f1685573291e6973254f39d0848b50 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local array = {};
 
 local array_mt = { __index = array, __tostring = function (array) return array:concat(", "); end };
index 1a6807d8160cfc1d88bd29aaca5e7d942f085df6..ed62f9b185dfdc60a23ca287987344d9c9e14617 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local setmetatable = setmetatable;
 local pairs, ipairs = pairs, ipairs;
 local tostring, type = tostring, type;
index 1d07fe099d79f71245c766abd5d1d1d2a91b6e68..a1edd496b7ecc05b7ef86eb3f88d9e943d140bd9 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local ipairs = ipairs;
 local pairs = pairs;
index d3163bb3fcbcb736b707e5ecd85229658bfa7d13..ffd69d91e9444625b5919961ad69e6cd7bbe29bb 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local hashes = require "util.hashes"
 local xor = require "bit".bxor
 
index 7c9b5269e9544afe9b7758c538a94554f3b752d9..08bb729c63f63a2331213c310dfc8026ee5beac6 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 --[[ Iterators ]]--
 
 -- Reverse an iterator
index 861fe6a9fd41279a52b3c54abc2f1dc11a9c894e..696af34f2ef7404e8ebd93a74508ac1736a8ca6f 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local plugin_dir = CFG_PLUGINDIR or "./plugins/";
 
index 2213e2d711939ae1d636cc7b29fc30c2a28c8b6d..b24e194dad769d2fc5c9c46416f10670a1d7b0cb 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local config = require "core.configmanager";
 local encodings = require "util.encodings";
index 9cb5c7ec1035aaa771413c64a4762da80d36eca2..8f6af2fdd2f65bb633e648ce774d4dcde1d774d5 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local ipairs, pairs, setmetatable, type = 
         ipairs, pairs, setmetatable, type;
index 84bfe8c42c299e29bcb506ab153198b5677f91b0..5f7a9ae243cef7d92bc13c63e1d32aed62bb3cb0 100644 (file)
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local ipairs, pairs, setmetatable, next, tostring = 
       ipairs, pairs, setmetatable, next, tostring;
 local t_concat = table.concat;