summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-09 18:31:29 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-09 18:31:29 +0200
commite1235674abdd5cf891f169e30683fddbfcb87af1 (patch)
tree7249257a45d0a091ceb9563696022e76cf0b9139
parentc554ada26ffc925e520a5fb026272065a3671ff7 (diff)
downloadluatexbase-e1235674abdd5cf891f169e30683fddbfcb87af1.tar.gz
Fixing bug by making optional argument optional
-rw-r--r--luatexbase-modutils.dtx2
1 files changed, 1 insertions, 1 deletions
diff --git a/luatexbase-modutils.dtx b/luatexbase-modutils.dtx
index 2dce051..1e511d5 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 info.version then
+ elseif req_date and 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"