summaryrefslogtreecommitdiff
path: root/rhnop-server
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2014-03-05 18:29:16 (GMT)
committerChristian Pointner <equinox@helsinki.at>2014-03-05 18:29:16 (GMT)
commit6bda8cc7758a9b30bcaf3ef9d9d4fda1eaf23e64 (patch)
tree1c01db8ad87d198faac566d877c112961e4e5209 /rhnop-server
parentab3ae58591e21a080d9341b9a6a7ae0f56ae9937 (diff)
fixed error due to new luasql library version
Diffstat (limited to 'rhnop-server')
-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"