Software /
code /
prosody
Diff
util/set.lua @ 5814:5cf1c08805fb
Merge 0.9->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 03 Sep 2013 00:20:28 +0100 |
parent | 5776:bd0ff8ae98a8 |
parent | 5813:c888f548876b |
child | 5817:6e087f3b8f3b |
line wrap: on
line diff
--- a/util/set.lua Mon Sep 02 15:22:41 2013 +0100 +++ b/util/set.lua Tue Sep 03 00:20:28 2013 +0100 @@ -91,13 +91,13 @@ end function set:include(otherset) - for item in pairs(otherset) do + for item in otherset do items[item] = true; end end function set:exclude(otherset) - for item in pairs(otherset) do + for item in otherset do items[item] = nil; end end