summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rhnop-server/debian/changelog6
-rw-r--r--rhnop-server/playlog.lua2
-rw-r--r--rhnop-server/rddb.lua2
3 files changed, 8 insertions, 2 deletions
diff --git a/rhnop-server/debian/changelog b/rhnop-server/debian/changelog
index 63874b1..24c4d53 100644
--- a/rhnop-server/debian/changelog
+++ b/rhnop-server/debian/changelog
@@ -1,3 +1,9 @@
+rhnop-server (0.9) UNRELEASED; urgency=low
+
+ * fixed error due to new luasql library version
+
+ -- Christian Pointner <equinox@helsinki.at> Wed, 05 Mar 2014 19:28:44 +0100
+
rhnop-server (0.8) unstable; urgency=low
* fixed runit script.
diff --git a/rhnop-server/playlog.lua b/rhnop-server/playlog.lua
index 59e572c..d6f1987 100644
--- a/rhnop-server/playlog.lua
+++ b/rhnop-server/playlog.lua
@@ -19,7 +19,7 @@
-- along with rhnop. If not, see <http://www.gnu.org/licenses/>.
--
-require "luasql.mysql"
+luasql = require "luasql.mysql"
-- CREATE DATABASE rhnop
-- GRANT select,insert,update ON rhnop.* TO 'nopsyncd' IDENTIFIED BY '<password>';
diff --git a/rhnop-server/rddb.lua b/rhnop-server/rddb.lua
index f1cc656..2f92b6a 100644
--- a/rhnop-server/rddb.lua
+++ b/rhnop-server/rddb.lua
@@ -19,7 +19,7 @@
-- along with rhnop. If not, see <http://www.gnu.org/licenses/>.
--
-require "luasql.mysql"
+luasql = require "luasql.mysql"
conf = require "conf"