mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 10:39:29 +02:00
Fix typo in case clause detected by Dialyzer
This commit is contained in:
parent
cb6322a3a7
commit
ac24d6ee9f
1 changed files with 1 additions and 1 deletions
|
@ -1244,7 +1244,7 @@ set_room_affiliation(Name, Service, JID, AffiliationString) ->
|
|||
case mod_muc_room:change_item(Pid, jid:decode(JID), affiliation, Affiliation, <<"">>) of
|
||||
{ok, _} ->
|
||||
ok;
|
||||
{error, not_found} ->
|
||||
{error, notfound} ->
|
||||
throw({error, "Room doesn't exists"});
|
||||
{error, _} ->
|
||||
throw({error, "Unable to perform change"})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue