Fix a typo in call to create_captcha()

Thanks to Paul Schaub for spotting this
This commit is contained in:
Evgeniy Khramtsov 2018-01-26 22:56:49 +03:00
parent 4b012a99d2
commit 5d582080be
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ filter_subscription(Acc, #presence{from = From, to = To, lang = Lang,
BTo = jid:remove_resource(To),
Limiter = jid:tolower(BFrom),
case ejabberd_captcha:create_captcha(
SID, BFrom, BTo, Lang, Limiter,
SID, BTo, BFrom, Lang, Limiter,
fun(Res) -> handle_captcha_result(Res, Pres) end) of
{ok, ID, Body, CaptchaEls} ->
Msg = #message{from = BTo, to = From,