# HG changeset patch # User Mikael Berthe # Date 1301638883 -7200 # Node ID a3e9f8f9d9693574b1d94595b0aecbfb5ffd61ce # Parent 070e5b83b408da304bbf226053181eeb12f9bb83 xmpp: update links (new XMPP RFC) diff -r 070e5b83b408 -r a3e9f8f9d969 mcbot/cmds/xmpp.lua --- a/mcbot/cmds/xmpp.lua Tue Mar 01 18:38:55 2011 +0100 +++ b/mcbot/cmds/xmpp.lua Fri Apr 01 08:21:23 2011 +0200 @@ -1,9 +1,11 @@ -- Ugly module with hardcoded URLs to the XMPP draft URLs... +-- Also, see http://datatracker.ietf.org/doc/ local xmpp = { ["desc"] = "Give URLs to XMPP documents" } function xmpp.cmd (args) + --[[ local xmppbaseurl = "http://datatracker.ietf.org/doc/" local urls = {} @@ -15,6 +17,23 @@ ["desc"] = "Instant Messaging and Presence", ["url"] = xmppbaseurl.."draft-ietf-xmpp-3921bis/", } + --]] + + local xmppbaseurl = "http://tools.ietf.org/html/" + local urls = {} + + urls["6120"] = { + ["desc"] = "Core", + ["url"] = xmppbaseurl.."rfc6120", + } + urls["6121"] = { + ["desc"] = "Instant Messaging and Presence", + ["url"] = xmppbaseurl.."rfc6121", + } + urls["6122"] = { + ["desc"] = "Instant Messaging and Presence", + ["url"] = xmppbaseurl.."rfc6122", + } local r = "XMPP is the eXtensible Messaging and Presence Protocol. See:\n" for k, urltable in pairs(urls) do