aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_core_s2smanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-03 14:39:07 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-03 14:39:07 +0000
commit0c5cc83112a2f474812ef334fd4be432d21b08d0 (patch)
tree34f2d841ff9536b7a5d91877f70eacbd58c2118f /tests/test_core_s2smanager.lua
parentea64d41fdd7caae5511f02041bfecf74e1a3f8d6 (diff)
downloadprosody-0c5cc83112a2f474812ef334fd4be432d21b08d0.tar.gz
prosody-0c5cc83112a2f474812ef334fd4be432d21b08d0.zip
Insert copyright/license headers
Diffstat (limited to 'tests/test_core_s2smanager.lua')
-rw-r--r--tests/test_core_s2smanager.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/test_core_s2smanager.lua b/tests/test_core_s2smanager.lua
index 69715b26..2bbc6094 100644
--- a/tests/test_core_s2smanager.lua
+++ b/tests/test_core_s2smanager.lua
@@ -1,3 +1,23 @@
+-- Prosody IM v0.1
+-- Copyright (C) 2008 Matthew Wild
+-- Copyright (C) 2008 Waqas Hussain
+--
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+--
+
+
function compare_srv_priorities(csp)
local r1 = { priority = 10, weight = 0 }
local r2 = { priority = 100, weight = 0 }