mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix error formatting, which closed client connection (#1389)
This commit is contained in:
parent
68cf6845e1
commit
34f2a8a4f2
@ -2723,8 +2723,8 @@ find_changed_items(UJID, UAffiliation, URole,
|
|||||||
Nick /= <<"">> ->
|
Nick /= <<"">> ->
|
||||||
case find_jids_by_nick(Nick, StateData) of
|
case find_jids_by_nick(Nick, StateData) of
|
||||||
[] ->
|
[] ->
|
||||||
ErrText = {<<"Nickname ~s does not exist in the room">>,
|
ErrText = str:format(<<"Nickname ~s does not exist in the room">>,
|
||||||
[Nick]},
|
[Nick]),
|
||||||
throw({error, xmpp:err_not_acceptable(ErrText, Lang)});
|
throw({error, xmpp:err_not_acceptable(ErrText, Lang)});
|
||||||
JIDList ->
|
JIDList ->
|
||||||
JIDList
|
JIDList
|
||||||
|
Loading…
Reference in New Issue
Block a user