Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ulatency.match_flag(): include inherited flags if u_proc instance passed

  • Loading branch information...
commit 2dd7b912da8ca8f0c0cbd43d7945fb2bd1bdfea1 1 parent 5d3dbe4
@gajdusek gajdusek authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/core.lua
View
2  src/core.lua
@@ -304,7 +304,7 @@ end
function ulatency.match_flag(needles, where)
local lst
if type(where) == "userdata" then -- "where" is proc, get its flags
- lst = where:list_flags()
+ lst = where:list_flags(true)
else
lst = where or ulatency.list_flags() -- "where" is already flags list or if nil, get system flag
end
Please sign in to comment.
Something went wrong with that request. Please try again.