From e4f098a1049f835e72ce9f2ad01d1c5db064d73a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20R=C3=A9mond?= Date: Mon, 5 May 2008 16:31:48 +0000 Subject: [PATCH] * src/mod_ip_blacklist.erl: Update the list every 6 hours. SVN Revision: 1319 --- src/mod_ip_blacklist.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_ip_blacklist.erl b/src/mod_ip_blacklist.erl index 5fdacc360..095c501a4 100644 --- a/src/mod_ip_blacklist.erl +++ b/src/mod_ip_blacklist.erl @@ -70,7 +70,7 @@ init(State)-> %% Register hooks for blacklist ejabberd_hooks:add(check_bl_c2s, ?MODULE, is_ip_in_c2s_blacklist, 50), %% Set timer: Download the blacklist file every 6 hours - timer:apply_interval(timer:minutes(?UPDATE_INTERVAL), ?MODULE, update_bl_c2s, []), + timer:apply_interval(timer:hours(?UPDATE_INTERVAL), ?MODULE, update_bl_c2s, []), loop(State). %% Remove timer when stop is received.