aboutsummaryrefslogtreecommitdiffstats
path: root/util/sql.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-06-03 15:55:43 +0100
committerMatthew Wild <mwild1@gmail.com>2015-06-03 15:55:43 +0100
commit41996240ed0cc9285ecde5c68c0b5ca8bc5dcda7 (patch)
treec8f0c1cc98630e58e4f0e80582f8468230266840 /util/sql.lua
parent15e84d4ec5ec7c13ebf09507ed4fb356e6925c6c (diff)
downloadprosody-41996240ed0cc9285ecde5c68c0b5ca8bc5dcda7.tar.gz
prosody-41996240ed0cc9285ecde5c68c0b5ca8bc5dcda7.zip
util.sql: Expose db2uri helper function
Diffstat (limited to 'util/sql.lua')
-rw-r--r--util/sql.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sql.lua b/util/sql.lua
index 8d40a3e2..768dd414 100644
--- a/util/sql.lua
+++ b/util/sql.lua
@@ -273,7 +273,7 @@ function engine:set_encoding() -- to UTF-8
end
local engine_mt = { __index = engine };
-local function db2uri(params)
+function db2uri(params)
return build_url{
scheme = params.driver,
user = params.username,