Diff

plugins/disco.lua @ 112:4f8429727316

verse.plugins.disco: Remove warning about base64 issue, bug located and fixed
author Matthew Wild <mwild1@gmail.com>
date Wed, 25 Aug 2010 13:21:25 +0100
parent 109:60a03b2cabec
child 113:769366a8b238
line wrap: on
line diff
--- a/plugins/disco.lua	Wed Aug 25 13:19:53 2010 +0100
+++ b/plugins/disco.lua	Wed Aug 25 13:21:25 2010 +0100
@@ -8,13 +8,6 @@
 
 local st = require "util.stanza"
 local b64 = require("mime").b64
--- NOTE: The b64 routine in LuaSocket 2.0.2 and below
--- contains a bug regarding handling \0, it's advisable
--- that you use another base64 routine, or a patched
--- version of LuaSocket.
--- You can borrow Prosody's (binary) util.encodings lib:
---local b64 = require("util.encodings").base64.encode
-
 local sha1 = require("util.sha1").sha1
 
 local xmlns_disco = "http://jabber.org/protocol/disco";