23 lines
674 B
Text
23 lines
674 B
Text
$NetBSD: patch-al,v 1.1 2006/08/14 22:40:53 wiz Exp $
|
|
|
|
--- query/querylib.lua.orig 2004-02-16 17:58:47.000000000 +0000
|
|
+++ query/querylib.lua
|
|
@@ -10,10 +10,10 @@
|
|
--
|
|
|
|
|
|
--- This is a slight abuse of the _LOADED variable perhaps, but library-like
|
|
+-- This is a slight abuse of the package.loaded variable perhaps, but library-like
|
|
-- packages should handle checking if they're loaded instead of confusing
|
|
-- the user with require/include differences.
|
|
-if _LOADED["querylib"] then return end
|
|
+if package.loaded["querylib"] then return end
|
|
|
|
|
|
querylib={}
|
|
@@ -732,4 +732,4 @@ end
|
|
|
|
|
|
-- Mark ourselves loaded.
|
|
-_LOADED["querylib"]=true
|
|
+package.loaded["querylib"]=true
|