+-- Prosody IM v0.4
+-- 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 compare_srv_priorities(csp)
local r1 = { priority = 10, weight = 0 }
local r2 = { priority = 100, weight = 0 }