aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-10 03:08:38 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-10 03:08:38 +0100
commite45610ce6e879a91dde4f4a0dcd47293223fa69f (patch)
tree4f1b0533c14fb192e6f729fc8921071011585a43 /util
parentdef653fa2612573f537fdf7da5ac0214bb882b59 (diff)
downloadprosody-e45610ce6e879a91dde4f4a0dcd47293223fa69f.tar.gz
prosody-e45610ce6e879a91dde4f4a0dcd47293223fa69f.zip
Add copyright header to those files missing one
Diffstat (limited to 'util')
-rw-r--r--util/array.lua8
-rw-r--r--util/dataforms.lua8
-rw-r--r--util/events.lua8
-rw-r--r--util/hmac.lua8
-rw-r--r--util/iterators.lua8
-rw-r--r--util/pluginloader.lua8
-rw-r--r--util/prosodyctl.lua8
-rw-r--r--util/pubsub.lua8
-rw-r--r--util/set.lua8
9 files changed, 72 insertions, 0 deletions
diff --git a/util/array.lua b/util/array.lua
index 05e035df..ce5ce077 100644
--- a/util/array.lua
+++ b/util/array.lua
@@ -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 };
diff --git a/util/dataforms.lua b/util/dataforms.lua
index 1a6807d8..ed62f9b1 100644
--- a/util/dataforms.lua
+++ b/util/dataforms.lua
@@ -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;
diff --git a/util/events.lua b/util/events.lua
index 1d07fe09..a1edd496 100644
--- a/util/events.lua
+++ b/util/events.lua
@@ -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;
diff --git a/util/hmac.lua b/util/hmac.lua
index d3163bb3..ffd69d91 100644
--- a/util/hmac.lua
+++ b/util/hmac.lua
@@ -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
diff --git a/util/iterators.lua b/util/iterators.lua
index 7c9b5269..08bb729c 100644
--- a/util/iterators.lua
+++ b/util/iterators.lua
@@ -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
diff --git a/util/pluginloader.lua b/util/pluginloader.lua
index 861fe6a9..696af34f 100644
--- a/util/pluginloader.lua
+++ b/util/pluginloader.lua
@@ -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/";
diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua
index 2213e2d7..b24e194d 100644
--- a/util/prosodyctl.lua
+++ b/util/prosodyctl.lua
@@ -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";
diff --git a/util/pubsub.lua b/util/pubsub.lua
index 9cb5c7ec..8f6af2fd 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -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;
diff --git a/util/set.lua b/util/set.lua
index 84bfe8c4..5f7a9ae2 100644
--- a/util/set.lua
+++ b/util/set.lua
@@ -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;