diff options
author | Kim Alvefur <zash@zash.se> | 2020-11-14 22:22:46 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-11-14 22:22:46 +0100 |
commit | 8d66f94b9ef9b0f7f667cb436615f311e6e2eca0 (patch) | |
tree | fc78fefa149c5a0018b0559108355c28b2051ae7 /util/error.lua | |
parent | fe83eba733bf07e671e500c537051208e56819b2 (diff) | |
download | prosody-8d66f94b9ef9b0f7f667cb436615f311e6e2eca0.tar.gz prosody-8d66f94b9ef9b0f7f667cb436615f311e6e2eca0.zip |
util.error: Remove a stray word from a comment
Earlier in the process the namespace could be given in the registry
table, the comment would have read
> registry can be given as second argument if namespace is either not
> used or is given in the registry table
The word seems to have been left when this method was scrapped for being
complicated and redundant.
Diffstat (limited to 'util/error.lua')
-rw-r--r-- | util/error.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/error.lua b/util/error.lua index 85265e47..ed3ef4f4 100644 --- a/util/error.lua +++ b/util/error.lua @@ -91,7 +91,7 @@ end local function init(source, namespace, registry) if type(namespace) == "table" then - -- registry can be given as second argument if namespace is either not used + -- registry can be given as second argument if namespace is not used registry, namespace = namespace, nil; end local _, protoerr = next(registry, nil); |