# HG changeset patch # User Matthew Wild # Date 1343670646 -3600 # Node ID a125daa42ad4685091d7d0d81c86520ac12fab0c # Parent d466d2088a61d1c1ab63f248f63fe205053d3eb3 mod_storage_sql: Return connection from connect even if already connected (thanks IRON) diff -r d466d2088a61 -r a125daa42ad4 plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Mon Jul 30 06:01:41 2012 +0200 +++ b/plugins/mod_storage_sql.lua Mon Jul 30 18:50:46 2012 +0100 @@ -79,8 +79,8 @@ connection = dbh; connections[dburi] = dbh; - return connection; end + return connection; end local function create_table()