Skip to content

Commit

Permalink
Use httpc instead of the deprecated http
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Nov 26, 2011
1 parent f7076f4 commit 5594e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod_ip_blacklist.erl
Expand Up @@ -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),
Expand Down

0 comments on commit 5594e14

Please sign in to comment.