remove redundant ~= nil
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Wed, 18 Dec 2013 01:28:54 +0000 (20:28 -0500)
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Wed, 18 Dec 2013 01:28:54 +0000 (20:28 -0500)
init.lua

index 4fa187198a4becf7aea424e699ce60a3804d3c6b..7173e653cb07e93461ec0ec1c149dd7d18936c63 100644 (file)
--- a/init.lua
+++ b/init.lua
@@ -17,7 +17,7 @@ pipeworks.modpath = minetest.get_modpath("pipeworks")
 
 dofile(pipeworks.modpath.."/default_settings.txt")
 
-if io.open(pipeworks.worldpath.."/pipeworks_settings.txt","r") ~= nil then
+if io.open(pipeworks.worldpath.."/pipeworks_settings.txt","r") then
        dofile(pipeworks.worldpath.."/pipeworks_settings.txt")
 end