]> git.lizzy.rs Git - mt_biblebot.git/commitdiff
Update init.lua
authormaikerumine <maikerumine@users.noreply.github.com>
Fri, 27 Oct 2017 16:06:45 +0000 (12:06 -0400)
committerGitHub <noreply@github.com>
Fri, 27 Oct 2017 16:06:45 +0000 (12:06 -0400)
init.lua

index f5f3c2a516e4a9281ee146c7622372cf09a5b69e..995f7ebfdb366ec3f513518933f63708a592a083 100644 (file)
--- a/init.lua
+++ b/init.lua
@@ -55,7 +55,7 @@ function mt_biblebot.read_verses()
        -- no input file found
        if not input then
                -- look for default file
-       local default_input = io.open(minetest.get_modpath("mt_biblebot").."/"..mt_biblebote,"r")
+       local default_input = io.open(minetest.get_modpath("mt_biblebot").."/"..default_verses_file,"r")
                local output = io.open(minetest.get_worldpath().."/mt_biblebot","w")
                if not default_input then
                        -- blame the admin if not found