provide backwards compatibility in the lua module after the history -> delta change
[project/uci.git] / lua / uci.c
index efa8c1a..951860f 100644 (file)
--- a/lua/uci.c
+++ b/lua/uci.c
@@ -902,6 +902,7 @@ static const luaL_Reg uci[] = {
        { "reorder", uci_lua_reorder },
        { "changes", uci_lua_changes },
        { "foreach", uci_lua_foreach },
+       { "add_history", uci_lua_add_delta },
        { "add_delta", uci_lua_add_delta },
        { "load_plugins", uci_lua_load_plugins },
        { "get_confdir", uci_lua_get_confdir },