diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/array.lua | 8 | ||||
-rw-r--r-- | util/dataforms.lua | 8 | ||||
-rw-r--r-- | util/events.lua | 8 | ||||
-rw-r--r-- | util/hmac.lua | 8 | ||||
-rw-r--r-- | util/iterators.lua | 8 | ||||
-rw-r--r-- | util/pluginloader.lua | 8 | ||||
-rw-r--r-- | util/prosodyctl.lua | 8 | ||||
-rw-r--r-- | util/pubsub.lua | 8 | ||||
-rw-r--r-- | util/set.lua | 8 |
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; |