Software /
code /
prosody
Diff
util/filters.lua @ 6368:bd0c8b361589
Merge 0.10->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 28 Aug 2014 12:05:18 +0100 |
parent | 6367:769a3577dd85 |
child | 6777:5de6b93d0190 |
line wrap: on
line diff
--- a/util/filters.lua Wed Aug 13 19:22:08 2014 +0200 +++ b/util/filters.lua Thu Aug 28 12:05:18 2014 +0100 @@ -45,6 +45,8 @@ if not filter_list then filter_list = {}; session.filters[type] = filter_list; + elseif filter_list[callback] then + return; -- Filter already added end priority = priority or 0;