diff options
Diffstat (limited to 'util/filters.lua')
-rw-r--r-- | util/filters.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/filters.lua b/util/filters.lua index 09a81cdb..af5b8d2d 100644 --- a/util/filters.lua +++ b/util/filters.lua @@ -10,7 +10,7 @@ local t_insert, t_remove = table.insert, table.remove; module "filters" -local function initialize_session(session) +function initialize(session) local filters = {}; session.filters = filters; @@ -25,7 +25,7 @@ end function add_filter(session, type, callback, priority) if not session.filters then - initialize_session(session); + initialize(session); end local filter_list = session.filters[type]; |