aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/xep
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp-vala/src/module/xep')
-rw-r--r--xmpp-vala/src/module/xep/0045_muc/module.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmpp-vala/src/module/xep/0045_muc/module.vala b/xmpp-vala/src/module/xep/0045_muc/module.vala
index 718ad255..4cab9b6a 100644
--- a/xmpp-vala/src/module/xep/0045_muc/module.vala
+++ b/xmpp-vala/src/module/xep/0045_muc/module.vala
@@ -193,6 +193,8 @@ public class Module : XmppStreamModule {
case Affiliation.ADMIN:
if (other_affiliation == Affiliation.OWNER) return false;
break;
+ default:
+ return false;
}
return true;
} catch (InvalidJidError e) {