From 9a30d2d0224bae25c811295c09958fd98808164e Mon Sep 17 00:00:00 2001 From: Sonny Scroggin Date: Tue, 18 Mar 2014 11:23:54 -0500 Subject: [PATCH] Clean up. --- mod_rest/src/mod_rest.erl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mod_rest/src/mod_rest.erl b/mod_rest/src/mod_rest.erl index efbb982..24074b2 100644 --- a/mod_rest/src/mod_rest.erl +++ b/mod_rest/src/mod_rest.erl @@ -46,11 +46,7 @@ start(_Host, _Opts) -> stop(_Host) -> ok. -process([], #request{method = 'POST', - data = Data, - host = Host, - ip = ClientIp - }) -> +process([], #request{method = 'POST', data = Data, host = Host, ip = ClientIp}) -> try {ClientAddress, _PortNumber} = ClientIp, check_member_option(Host, ClientAddress, allowed_ips),