diff options
author | Steven Barth <steven@midlink.org> | 2008-05-05 19:59:57 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-05-05 19:59:57 +0000 |
commit | 1b65106ac8bab5bb840b3d282d416e160882dea4 (patch) | |
tree | 75cfb29e2663ba95864745b65e94eaf7f7425d3f | |
parent | decdaf673607169fbe2979d18c59498f2ca47b39 (diff) |
* Fixed menu cache
-rw-r--r-- | core/src/ffluci/menu.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ffluci/menu.lua b/core/src/ffluci/menu.lua index ed05f881d..e55c0e76a 100644 --- a/core/src/ffluci/menu.lua +++ b/core/src/ffluci/menu.lua @@ -43,7 +43,7 @@ scope = { } -- Local menu database -local menu = {} +local menu = nil -- The current pointer local menuc = {} @@ -119,6 +119,7 @@ end -- Returns the menu information function get() if not menu then + menu = {} collect() end return menu |