浏览代码

FIX: prosody: comment on destroy_request

master
Aaron van Meerten 5 年前
父节点
当前提交
0bd100f027
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      resources/prosody-plugins/token/util.lib.lua

+ 1
- 1
resources/prosody-plugins/token/util.lib.lua 查看文件

142
             -- TODO: This check is racey. Not likely to be a problem, but we should
142
             -- TODO: This check is racey. Not likely to be a problem, but we should
143
             --       still stick a mutex on content / code at some point.
143
             --       still stick a mutex on content / code at some point.
144
             if code == nil then
144
             if code == nil then
145
-                -- no longer present in prosody 0.11, so cehck before calling
145
+                -- no longer present in prosody 0.11, so check before calling
146
                 if http.destroy_request ~= nil then
146
                 if http.destroy_request ~= nil then
147
                     http.destroy_request(request);
147
                     http.destroy_request(request);
148
                 end
148
                 end

正在加载...
取消
保存