aboutsummaryrefslogtreecommitdiffstats
path: root/util/error.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-11-14 22:22:46 +0100
committerKim Alvefur <zash@zash.se>2020-11-14 22:22:46 +0100
commit8ae67fb1fd4ed21346a7afd8767dd634344b39ee (patch)
treefc78fefa149c5a0018b0559108355c28b2051ae7 /util/error.lua
parentf69303f26474c9d57cfe16f087fdbb37df36afbf (diff)
downloadprosody-8ae67fb1fd4ed21346a7afd8767dd634344b39ee.tar.gz
prosody-8ae67fb1fd4ed21346a7afd8767dd634344b39ee.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.lua2
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);