From abbff817a971616372117425e81e22d0e4848eb7 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 30 Jul 2012 18:50:46 +0100 Subject: mod_storage_sql: Return connection from connect even if already connected (thanks IRON) --- plugins/mod_storage_sql.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3