servers/prosody.lua

Mon, 04 Oct 2010 02:42:01 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 04 Oct 2010 02:42:01 +0100
changeset 11
c77c5ac57156
parent 0
ba1cc6ad649d
permissions
-rw-r--r--

xmpp-fingerprint.lua: Support for 'server_version' in addition to 'server_min_version'

function testers.prosody()
	if test(q_invalid_xml, literal " id=''")
		and test(q_invalid_host, "This server does not serve")
		and not test(q_invalid_xml, " from=") then
		server_name = "Prosody";
		if not test(q_invalid_host, literal "><?xml") then
			server_min_version = "0.6";
		end
	end
end

mercurial