Software /
code /
prosody
Diff
util/filters.lua @ 6367:769a3577dd85
Merge 0.9->0.10
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 28 Aug 2014 09:23:24 +0100 |
parent | 5850:e8c743f4213f |
parent | 6366:8dee696c33cc |
child | 6777:5de6b93d0190 |
line wrap: on
line diff
--- a/util/filters.lua Wed Aug 27 13:00:04 2014 +0200 +++ b/util/filters.lua Thu Aug 28 09:23:24 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;