projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge 0.9->trunk
[prosody.git]
/
util
/
set.lua
diff --git
a/util/set.lua
b/util/set.lua
index e9dfec1bca729b509040e785248389187dca8abd..a2df669c05e97706b8d6120cddece71a8a5d73b7 100644
(file)
--- a/
util/set.lua
+++ b/
util/set.lua
@@
-91,13
+91,13
@@
function new(list)
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