From 5594e1470fa7b74de8a078683911fb9e55377639 Mon Sep 17 00:00:00 2001 From: Badlop Date: Sat, 26 Nov 2011 17:20:06 +0100 Subject: [PATCH] Use httpc instead of the deprecated http --- 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 718a25b1e..f8e73e1d3 100644 --- a/src/mod_ip_blacklist.erl +++ b/src/mod_ip_blacklist.erl @@ -92,7 +92,7 @@ loop(_State) -> %% TODO: Support comment lines starting by % update_bl_c2s() -> ?INFO_MSG("Updating C2S Blacklist", []), - case http:request(?BLC2S) of + case httpc:request(?BLC2S) of {ok, {{_Version, 200, _Reason}, _Headers, Body}} -> IPs = string:tokens(Body,"\n"), ets:delete_all_objects(bl_c2s),