diff options
Diffstat (limited to 'etc/dispatch.lua')
| -rw-r--r-- | etc/dispatch.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/dispatch.lua b/etc/dispatch.lua index cc8cb23..31a1290 100644 --- a/etc/dispatch.lua +++ b/etc/dispatch.lua | |||
| @@ -76,7 +76,7 @@ local function newset() | |||
| 76 | insert = function(set, value) | 76 | insert = function(set, value) |
| 77 | if not reverse[value] then | 77 | if not reverse[value] then |
| 78 | table.insert(set, value) | 78 | table.insert(set, value) |
| 79 | reverse[value] = table.getn(set) | 79 | reverse[value] = #set |
| 80 | end | 80 | end |
| 81 | end, | 81 | end, |
| 82 | remove = function(set, value) | 82 | remove = function(set, value) |
