i missed something as usual

This commit is contained in:
ZeroEpoch1969 2019-09-09 22:43:02 -07:00
parent 44f101841b
commit 14c9db3433
No known key found for this signature in database
GPG Key ID: A7BAB4E14F089CF3
4 changed files with 6 additions and 6 deletions

View File

@ -166,7 +166,7 @@ public class ActivityLog extends FreedomService
} }
} }
@EventHandler(priority = EventPriority.MONITOR) @EventHandler(priority = EventPriority.HIGH)
public void onPlayerJoin(PlayerJoinEvent event) public void onPlayerJoin(PlayerJoinEvent event)
{ {
Player player = event.getPlayer(); Player player = event.getPlayer();
@ -178,7 +178,7 @@ public class ActivityLog extends FreedomService
} }
} }
@EventHandler(priority = EventPriority.MONITOR) @EventHandler(priority = EventPriority.HIGH)
public void onPlayerQuit(PlayerQuitEvent event) public void onPlayerQuit(PlayerQuitEvent event)
{ {
Player player = event.getPlayer(); Player player = event.getPlayer();

View File

@ -25,7 +25,7 @@ public class Module_bans extends HTTPDModule
if (!isAuthorized(remoteAddress)) if (!isAuthorized(remoteAddress))
{ {
return new NanoHTTPD.Response(NanoHTTPD.Response.Status.NOT_FOUND, NanoHTTPD.MIME_PLAINTEXT, return new NanoHTTPD.Response(NanoHTTPD.Response.Status.NOT_FOUND, NanoHTTPD.MIME_PLAINTEXT,
"You may not view the ban list, Your IP. " + remoteAddress + ", is not registered to an admin on the server."); "You may not view the ban list. Your IP, " + remoteAddress + ", is not registered to an admin on the server.");
} }
else else
{ {

View File

@ -109,7 +109,7 @@ public class Module_logfile extends HTTPDModule
{ {
if (!isAuthorized(remoteAddress)) if (!isAuthorized(remoteAddress))
{ {
out.append(HTMLGenerationTools.paragraph("Log files access denied: Your IP, " + remoteAddress + ", is not registered to a superadmin on this server.")); out.append(HTMLGenerationTools.paragraph("Log files access denied: Your IP, " + remoteAddress + ", is not registered to an admin on this server."));
FLog.info("An unregistered IP (" + remoteAddress + ") has tried to download a log file"); FLog.info("An unregistered IP (" + remoteAddress + ") has tried to download a log file");
} }
else else

View File

@ -25,7 +25,7 @@ public class Module_punishments extends HTTPDModule
if (!isAuthorized(remoteAddress)) if (!isAuthorized(remoteAddress))
{ {
return new NanoHTTPD.Response(NanoHTTPD.Response.Status.NOT_FOUND, NanoHTTPD.MIME_PLAINTEXT, return new NanoHTTPD.Response(NanoHTTPD.Response.Status.NOT_FOUND, NanoHTTPD.MIME_PLAINTEXT,
"You may not view the punishment list, Your IP, " + remoteAddress + ", is not registered to an admin on the server."); "You may not view the punishment list. Your IP, " + remoteAddress + ", is not registered to an admin on the server.");
} }
else else
{ {