summaryrefslogtreecommitdiff
path: root/client/lua.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/lua.cc')
-rw-r--r--client/lua.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/lua.cc b/client/lua.cc
index eae2e32..2753139 100644
--- a/client/lua.cc
+++ b/client/lua.cc
@@ -31,6 +31,7 @@
#include "widgets/widget.h"
#include "luawidget.h"
+#include "luadb.h"
#include "debug.h"
@@ -121,6 +122,7 @@ void LUA::clear()
lua_register(L, "debug", debug);
register_widget(L);
+ register_db(L);
}
QString LUA::runScriptS(QString script, Widget *widget, QString name)