Update API

This commit is contained in:
Jean-Patrick Guerrero 2021-01-29 02:56:28 +01:00
parent 3e5b7cbb55
commit 89c2249bcb
2 changed files with 2 additions and 2 deletions

2
API.md
View File

@ -180,7 +180,7 @@ end)
Removes all recipe filters and adds a new one. Removes all recipe filters and adds a new one.
#### `i3.remove_recipe_filter(name)` #### `i3.delete_recipe_filter(name)`
Removes the recipe filter with the given `name`. Removes the recipe filter with the given `name`.

View File

@ -589,7 +589,7 @@ function i3.set_recipe_filter(name, f)
recipe_filters = {[name] = f} recipe_filters = {[name] = f}
end end
function i3.remove_recipe_filter(name) function i3.delete_recipe_filter(name)
recipe_filters[name] = nil recipe_filters[name] = nil
end end