Skip to content
Browse files

Use httpc instead of the deprecated http

  • Loading branch information...
1 parent f7076f4 commit 5594e1470fa7b74de8a078683911fb9e55377639 @badlop badlop committed Nov 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mod_ip_blacklist.erl
View
2 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),

0 comments on commit 5594e14

Please sign in to comment.
Something went wrong with that request. Please try again.