Changeset

447:c0dae734d3bf

Stopped using the lbase64 library
author Waqas Hussain <waqas20@gmail.com>
date Fri, 28 Nov 2008 00:48:16 +0500
parents 446:5b5732d65792
children 448:2623519b25b0
files DEPENDS plugins/mod_saslauth.lua
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/DEPENDS	Thu Nov 27 22:28:33 2008 +0500
+++ b/DEPENDS	Fri Nov 28 00:48:16 2008 +0500
@@ -3,7 +3,6 @@
 Rocks:
 luaexpat
 luasocket
-lbase64
 
 Non-rocks:
 LuaSec for SSL connections
--- a/plugins/mod_saslauth.lua	Thu Nov 27 22:28:33 2008 +0500
+++ b/plugins/mod_saslauth.lua	Fri Nov 28 00:48:16 2008 +0500
@@ -2,7 +2,7 @@
 local st = require "util.stanza";
 local sm_bind_resource = require "core.sessionmanager".bind_resource;
 local jid
-local base64 = require "base64"
+local base64 = require "util.encodings".base64;
 
 local usermanager_validate_credentials = require "core.usermanager".validate_credentials;
 local t_concat, t_insert = table.concat, table.insert;