diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-07-30 18:50:46 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-07-30 18:50:46 +0100 |
commit | abbff817a971616372117425e81e22d0e4848eb7 (patch) | |
tree | 1441ff4f0cb13e3236f875afa03bbb37ddb0b7cd /plugins/mod_storage_sql.lua | |
parent | 7d6a3f2438b72078d6d5ffad8f6f4ed41e144136 (diff) | |
download | prosody-abbff817a971616372117425e81e22d0e4848eb7.tar.gz prosody-abbff817a971616372117425e81e22d0e4848eb7.zip |
mod_storage_sql: Return connection from connect even if already connected (thanks IRON)
Diffstat (limited to 'plugins/mod_storage_sql.lua')
-rw-r--r-- | plugins/mod_storage_sql.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua index c20e4473..ea25c90b 100644 --- a/plugins/mod_storage_sql.lua +++ b/plugins/mod_storage_sql.lua @@ -79,8 +79,8 @@ local function connect() connection = dbh; connections[dburi] = dbh; - return connection; end + return connection; end local function create_table() |