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 | 6803af2094867292188d73a647b94e5fd5fa0da9 (patch) | |
tree | 1441ff4f0cb13e3236f875afa03bbb37ddb0b7cd | |
parent | ef580b637e68c5fd6ee649c3ea2c56e4393b3a1a (diff) | |
download | prosody-6803af2094867292188d73a647b94e5fd5fa0da9.tar.gz prosody-6803af2094867292188d73a647b94e5fd5fa0da9.zip |
mod_storage_sql: Return connection from connect even if already connected (thanks IRON)
-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() |