Fix a typo and use proper deprecation notification system

Fix a typo pointed out by @thecow275.

Also, use the deprecated notification system which respects the
deprecated_lua_api_handling setting.
This commit is contained in:
est31 2016-09-19 12:11:31 +02:00
parent 3aefa5d3ce
commit abb6fba24f

@ -73,7 +73,7 @@ local function get_formspec(tabview, name, tabdata)
if not file_exists(infofile) then
infofile = current_texture_path .. DIR_DELIM .. "info.txt"
if file_exists(infofile) then
core.log("info.txt is depreciated. description.txt should be used instead.")
core.log("deprecated", "info.txt is deprecated. description.txt should be used instead.")
end
end