summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <megas.kapaneus@gmail.com>2012-06-06 16:38:24 +0200
committerPhilipp Gesang <megas.kapaneus@gmail.com>2012-06-06 16:38:24 +0200
commit15fea4d469db6ce474b84a0c35d7ce3ba3aea135 (patch)
tree3d26f3087a844baa15820fe5ca8098063ba310a9
parentb590b2d16628d15d7580185a20531b442e1730a8 (diff)
downloadluatexbase-15fea4d469db6ce474b84a0c35d7ce3ba3aea135.tar.gz
modutils.lua: fixed reference to global "version"
-rw-r--r--luatexbase-modutils.dtx2
1 files changed, 1 insertions, 1 deletions
diff --git a/luatexbase-modutils.dtx b/luatexbase-modutils.dtx
index 8fd87ca..2dce051 100644
--- a/luatexbase-modutils.dtx
+++ b/luatexbase-modutils.dtx
@@ -552,7 +552,7 @@ function require_module(name, req_date)
local info = modules[name]
if not info then
warn("module '%s' was not properly identified", name)
- elseif version then
+ elseif info.version then
if not (info.date and date_to_int(info.date) > date_to_int(req_date))
then
warn("module '%s' required in version '%s'\n"