25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

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

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,