diff options
author | Badlop <badlop@process-one.net> | 2020-12-18 17:06:14 +0100 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2020-12-18 20:40:17 +0100 |
commit | ac24d6ee9f6a64561a5d86ed5d67a4da239e08f5 (patch) | |
tree | f3af2068e34c830f9585cbf1706919033def9587 | |
parent | Add option to check for missing hex releases to update script (diff) |
Fix typo in case clause detected by Dialyzer
Diffstat (limited to '')
-rw-r--r-- | src/mod_muc_admin.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc_admin.erl b/src/mod_muc_admin.erl index e36e3398f..d80e71589 100644 --- a/src/mod_muc_admin.erl +++ b/src/mod_muc_admin.erl @@ -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"}) |