mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +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 /= <<"">> ->
|
||||
case find_jids_by_nick(Nick, StateData) of
|
||||
[] ->
|
||||
ErrText = {<<"Nickname ~s does not exist in the room">>,
|
||||
[Nick]},
|
||||
ErrText = str:format(<<"Nickname ~s does not exist in the room">>,
|
||||
[Nick]),
|
||||
throw({error, xmpp:err_not_acceptable(ErrText, Lang)});
|
||||
JIDList ->
|
||||
JIDList
|
||||
|
Loading…
Reference in New Issue
Block a user