mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix typo in case clause detected by Dialyzer
This commit is contained in:
parent
cb6322a3a7
commit
ac24d6ee9f
@ -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…
Reference in New Issue
Block a user