From 15153c947cc646c81963f0a319a73e49eab8920f Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Fri, 28 Nov 2008 00:48:16 +0500 Subject: Stopped using the lbase64 library --- DEPENDS | 1 - plugins/mod_saslauth.lua | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/DEPENDS b/DEPENDS index b680ce81..b284cc27 100644 --- a/DEPENDS +++ b/DEPENDS @@ -3,7 +3,6 @@ The easiest way to install dependencies is using the luarocks tool. Rocks: luaexpat luasocket -lbase64 Non-rocks: LuaSec for SSL connections diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua index f549d0b9..c8912eae 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -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; -- cgit v1.2.3