aboutsummaryrefslogtreecommitdiff
path: root/src/mod_http_bind.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_http_bind.erl')
-rw-r--r--src/mod_http_bind.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_http_bind.erl b/src/mod_http_bind.erl
index c3a62aa3c..fbf43e80f 100644
--- a/src/mod_http_bind.erl
+++ b/src/mod_http_bind.erl
@@ -64,9 +64,9 @@ process([], #request{method = 'POST', data = <<>>}) ->
{400, ?HEADER,
#xmlel{name = <<"h1">>, children = [{xmlcdata, <<"400 Bad Request">>}]}};
process([],
- #request{method = 'POST', data = Data, ip = IP}) ->
+ #request{method = 'POST', data = Data, ip = IP, opts = Opts}) ->
?DEBUG("Incoming data: ~s", [Data]),
- ejabberd_http_bind:process_request(Data, IP);
+ ejabberd_http_bind:process_request(Data, IP, Opts);
process([], #request{method = 'GET', data = <<>>}) ->
{200, ?HEADER, get_human_html_xmlel()};
process([], #request{method = 'OPTIONS', data = <<>>}) ->