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)
{
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)
{
Player player = event.getPlayer();

View File

@ -25,7 +25,7 @@ public class Module_bans extends HTTPDModule
if (!isAuthorized(remoteAddress))
{
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
{

View File

@ -109,14 +109,14 @@ public class Module_logfile extends HTTPDModule
{
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");
}
else
{
try
{
FLog.info("The IP \"" + remoteAddress + "\" is downloading log file:" + params.get("logFileName"));
FLog.info("The IP \"" + remoteAddress + "\" is downloading log file: " + params.get("logFileName"));
throw new ResponseOverrideException(downloadLogFile(params.get("logFileName")));
}
catch (LogFileTransferException ex)

View File

@ -25,7 +25,7 @@ public class Module_punishments extends HTTPDModule
if (!isAuthorized(remoteAddress))
{
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
{