From e45610ce6e879a91dde4f4a0dcd47293223fa69f Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 10 Jul 2009 03:08:38 +0100 Subject: Add copyright header to those files missing one --- plugins/mod_actions_http.lua | 8 ++++++++ plugins/mod_announce.lua | 8 ++++++++ plugins/mod_bosh.lua | 8 ++++++++ plugins/mod_groups.lua | 8 ++++++++ plugins/mod_httpserver.lua | 8 ++++++++ plugins/mod_iq.lua | 8 ++++++++ plugins/mod_message.lua | 8 ++++++++ plugins/mod_muc.lua | 8 ++++++++ plugins/mod_offline.lua | 8 ++++++++ plugins/mod_pep.lua | 8 ++++++++ plugins/mod_posix.lua | 8 ++++++++ plugins/mod_privacy.lua | 8 ++++++++ plugins/mod_watchregistrations.lua | 8 ++++++++ 13 files changed, 104 insertions(+) (limited to 'plugins') diff --git a/plugins/mod_actions_http.lua b/plugins/mod_actions_http.lua index 43370a41..c6069793 100644 --- a/plugins/mod_actions_http.lua +++ b/plugins/mod_actions_http.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 httpserver = require "net.httpserver"; local t_concat, t_insert = table.concat, table.insert; diff --git a/plugins/mod_announce.lua b/plugins/mod_announce.lua index 010b45d9..118ba13d 100644 --- a/plugins/mod_announce.lua +++ b/plugins/mod_announce.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 st, jid, set = require "util.stanza", require "util.jid", require "util.set"; local is_admin = require "core.usermanager".is_admin; diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index 46e9a95f..b07238bd 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.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. +-- + module.host = "*" -- Global module diff --git a/plugins/mod_groups.lua b/plugins/mod_groups.lua index 7a581717..f31bb1a8 100644 --- a/plugins/mod_groups.lua +++ b/plugins/mod_groups.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 groups = { default = {} }; local members = { [false] = {} }; diff --git a/plugins/mod_httpserver.lua b/plugins/mod_httpserver.lua index ec22a4bf..98a3a36e 100644 --- a/plugins/mod_httpserver.lua +++ b/plugins/mod_httpserver.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 httpserver = require "net.httpserver"; diff --git a/plugins/mod_iq.lua b/plugins/mod_iq.lua index 30afb38c..5be04533 100644 --- a/plugins/mod_iq.lua +++ b/plugins/mod_iq.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 st = require "util.stanza"; local jid_split = require "util.jid".split; diff --git a/plugins/mod_message.lua b/plugins/mod_message.lua index b56aef0a..395307ba 100644 --- a/plugins/mod_message.lua +++ b/plugins/mod_message.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 full_sessions = full_sessions; local bare_sessions = bare_sessions; diff --git a/plugins/mod_muc.lua b/plugins/mod_muc.lua index 4f695b17..e99ef83c 100644 --- a/plugins/mod_muc.lua +++ b/plugins/mod_muc.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. +-- + if module:get_host_type() ~= "component" then error("MUC should be loaded as a component, please see http://prosody.im/doc/components", 0); diff --git a/plugins/mod_offline.lua b/plugins/mod_offline.lua index 4fb82cc0..c9acf9e6 100644 --- a/plugins/mod_offline.lua +++ b/plugins/mod_offline.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 datamanager = require "util.datamanager"; local st = require "util.stanza"; diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index 0be681fb..8cc4aedf 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.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 jid_bare = require "util.jid".bare; local jid_split = require "util.jid".split; diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index a97b7f1b..c00482c5 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.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 want_pposix_version = "0.3.0"; diff --git a/plugins/mod_privacy.lua b/plugins/mod_privacy.lua index 9f8a149b..8c319bde 100644 --- a/plugins/mod_privacy.lua +++ b/plugins/mod_privacy.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 st = require "util.stanza"; local datamanager = require "util.datamanager"; diff --git a/plugins/mod_watchregistrations.lua b/plugins/mod_watchregistrations.lua index 93e69208..9457313f 100644 --- a/plugins/mod_watchregistrations.lua +++ b/plugins/mod_watchregistrations.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 host = module:get_host(); -- cgit v1.2.3