summaryrefslogtreecommitdiff
path: root/rhnop-client/db.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rhnop-client/db.lua')
-rw-r--r--rhnop-client/db.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhnop-client/db.lua b/rhnop-client/db.lua
index bf27bef..4c0a107 100644
--- a/rhnop-client/db.lua
+++ b/rhnop-client/db.lua
@@ -54,7 +54,7 @@ function db.init(db, user, pwd, host, port, table)
return nil, err
end
- local ret, err = self.con:execute("SET CHARACTER SET utf8")
+ local ret, err = mydb.con:execute("SET CHARACTER SET utf8")
if ret == nil then
return nil, err
end