Software /
code /
prosody-modules
Changeset
500:bd08727378be
mod_auth_sql: Read option 'auth_sql' (thanks rdnzlc)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 08 Dec 2011 08:17:36 +0000 |
parents | 499:30e33292d738 |
children | 501:e851f386c904 |
files | mod_auth_sql/mod_auth_sql.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_auth_sql/mod_auth_sql.lua Mon Dec 05 21:34:59 2011 +0000 +++ b/mod_auth_sql/mod_auth_sql.lua Thu Dec 08 08:17:36 2011 +0000 @@ -9,7 +9,7 @@ local DBI = require "DBI" local connection; -local params = module:get_option("sql"); +local params = module:get_option("auth_sql", module:get_option("sql")); local resolve_relative_path = require "core.configmanager".resolve_relative_path;