aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
diff options
context:
space:
mode:
authorPetr Ilin <hevav@hevav.dev>2023-01-26 13:38:38 +0300
committerPetr Ilin <hevav@hevav.dev>2023-01-26 13:38:38 +0300
commit4c49eb400462a6d8f3910bbfa44bf9f575fa24f2 (patch)
treeee5cf5753579bdd37a60cfb2dfb44813a4f3fd3e /src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
parent5709af5c0ade33aff357650fd4e57f79c4844649 (diff)
downloadLimboAuth-4c49eb400462a6d8f3910bbfa44bf9f575fa24f2.tar.gz
LimboAuth-4c49eb400462a6d8f3910bbfa44bf9f575fa24f2.tar.bz2
LimboAuth-4c49eb400462a6d8f3910bbfa44bf9f575fa24f2.zip
Fix destroysession permission
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java')
-rw-r--r--src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java b/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
index f796f2e..ea4bef8 100644
--- a/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
+++ b/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
@@ -55,6 +55,6 @@ public class DestroySessionCommand implements SimpleCommand {
@Override
public boolean hasPermission(SimpleCommand.Invocation invocation) {
return Settings.IMP.MAIN.COMMAND_PERMISSION_STATE.DESTROY_SESSION
- .hasPermission(invocation.source(), "imboauth.commands.destroysession");
+ .hasPermission(invocation.source(), "limboauth.commands.destroysession");
}
}