Fix showing the kick option to owners
Missing case in the switch defaulted to returning false for Owners, thus preventing they with the most privileges from using those privileges.
This commit is contained in:
parent
8c8c2dc4b0
commit
d0fca291ac
|
@ -203,6 +203,8 @@ public class Module : XmppStreamModule {
|
|||
case Affiliation.ADMIN:
|
||||
if (other_affiliation == Affiliation.OWNER) return false;
|
||||
break;
|
||||
case Affiliation.OWNER:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue