lxmppd -> Prosody

Wed, 03 Dec 2008 13:02:23 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 03 Dec 2008 13:02:23 +0000
changeset 517
afd9f6590fd0
parent 516
76d17a0d8a0a
child 518
127eb78cbf4a

lxmppd -> Prosody

core/discomanager.lua file | annotate | diff | comparison | revisions
plugins/mod_version.lua file | annotate | diff | comparison | revisions
--- a/core/discomanager.lua	Sun Nov 30 19:59:28 2008 +0000
+++ b/core/discomanager.lua	Wed Dec 03 13:02:23 2008 +0000
@@ -10,7 +10,7 @@
 do
 	helper:addDiscoInfoHandler("*host", function(reply, to, from, node)
 		if hosts[to] then
-			reply:tag("identity", {category="server", type="im", name="lxmppd"}):up();
+			reply:tag("identity", {category="server", type="im", name="Prosody"}):up();
 			return true;
 		end
 	end);
--- a/plugins/mod_version.lua	Sun Nov 30 19:59:28 2008 +0000
+++ b/plugins/mod_version.lua	Wed Dec 03 13:02:23 2008 +0000
@@ -10,8 +10,8 @@
 local function handle_version_request(session, stanza)
 	if stanza.attr.type == "get" then
 		session.send(st.reply(stanza):query(xmlns_version)
-			:tag("name"):text("lxmppd"):up()
-			:tag("version"):text("pre-alpha"):up()
+			:tag("name"):text("Prosody"):up()
+			:tag("version"):text("0.1"):up()
 			:tag("os"):text("the best operating system ever!"));
 	end
 end

mercurial