From ae23056f3cba2c10a44ff84aa9a93f7d19762043 Mon Sep 17 00:00:00 2001 From: Jgunishka <53265225+Jgunishka@users.noreply.github.com> Date: Wed, 21 Aug 2019 21:20:22 +0300 Subject: [PATCH] Add temp mod command --- src/org/emulinker/kaillera/access/AccessManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/org/emulinker/kaillera/access/AccessManager.java b/src/org/emulinker/kaillera/access/AccessManager.java index 9fe3b0f..482fd84 100644 --- a/src/org/emulinker/kaillera/access/AccessManager.java +++ b/src/org/emulinker/kaillera/access/AccessManager.java @@ -93,6 +93,8 @@ public interface AccessManager */ public void addTempAdmin(String pattern, int minutes); + public void addTempModerator(String pattern, int minutes); + public void addTempElevated(String pattern, int minutes); /** @@ -104,5 +106,5 @@ public interface AccessManager */ public void addSilenced(String pattern, int minutes); - public boolean clearTemp(InetAddress address); + public boolean clearTemp(InetAddress address, boolean clearAll); }