mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
ModActions: don't allow actions on self
This commit is contained in:
parent
69224810cd
commit
68e2e7dd9b
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ export class ModActionsPlugin extends Plugin {
|
|||
|
||||
protected canActOn(member1, member2) {
|
||||
if (member1.id === member2.id) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
const ourLevel = this.getMemberLevel(member1);
|
||||
|
|
Loading…
Add table
Reference in a new issue