]> git.decadent.org.uk Git - ion3.git/blobdiff - ioncore/ioncore_luaext.lua
Add 20081002-1.
[ion3.git] / ioncore / ioncore_luaext.lua
index b36159397f510c4114c798075c32e4333c26563e..a98d2cea40041808862e02c911ec804f1e20e274 100644 (file)
@@ -1,12 +1,9 @@
 --
 -- ion/share/ioncore_luaext.lua
 -- 
--- Copyright (c) Tuomo Valkonen 2004-2007.
+-- Copyright (c) Tuomo Valkonen 2004-2008.
 --
--- Ion is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License as published by
--- the Free Software Foundation; either version 2.1 of the License, or
--- (at your option) any later version.
+-- See the included file LICENSE for details.
 --
 
 
@@ -85,7 +82,7 @@ end
 --DOC
 -- Export a list of functions from \var{lib} into global namespace.
 function export(lib, ...)
-    for k, v in pairs(arg) do
+    for k, v in pairs({...}) do
         _G[v]=lib[v]
     end
 end