diff options
author | Badlop <badlop@process-one.net> | 2011-11-26 20:20:06 +0400 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2011-11-26 20:20:13 +0400 |
commit | 5594e1470fa7b74de8a078683911fb9e55377639 (patch) | |
tree | f886184195c4699bccc0718fc0c22868e62f94dd | |
parent | f7076f49b6bf006ffb1abe9cbd7595a4a6b0aa46 (diff) |
Use httpc instead of the deprecated http
-rw-r--r-- | src/mod_ip_blacklist.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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), |