aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-10-07 17:45:23 +0100
committerMatthew Wild <mwild1@gmail.com>2022-10-07 17:45:23 +0100
commita79238fb37eb9ad993e906fb834e2f7696d70b11 (patch)
tree824aea802119435a9aef458fb829f4d4a80f19a3
parentaed0c1c5ababe8b44ac8f88ef423b641c0c6ec4f (diff)
downloadprosody-a79238fb37eb9ad993e906fb834e2f7696d70b11.tar.gz
prosody-a79238fb37eb9ad993e906fb834e2f7696d70b11.zip
util.promise: Remove line that was supposed to be removed in eb9814372c54
-rw-r--r--util/promise.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/promise.lua b/util/promise.lua
index d8f0b3d6..f56502d2 100644
--- a/util/promise.lua
+++ b/util/promise.lua
@@ -58,7 +58,6 @@ end
local function new_resolve_functions(p)
local function _resolve(v)
- resolved = true;
if is_promise(v) then
v:next(new_resolve_functions(p));
elseif promise_settle(p, "fulfilled", next_fulfilled, p._pending_on_fulfilled, v) then