summaryrefslogtreecommitdiff
path: root/wm/ion/patches/patch-al
blob: 37c88e78d9f866284a78f651242b150fc6570d89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$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