Fixed user search not trimming arguments. Fixed system ping being unreadable.

This commit is contained in:
Christian 'ketura' McCarty
2022-09-06 22:59:06 -05:00
parent 7786bd6442
commit 91b87190c5
2 changed files with 6 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ public class AdminRequestHandler extends LotroServerRequestHandler implements Ur
HttpPostRequestDecoder postDecoder = new HttpPostRequestDecoder(request);
try {
String login = getFormParameterSafely(postDecoder, "login");
String login = getFormParameterSafely(postDecoder, "login").trim();
List<Player> similarPlayers = _playerDAO.findSimilarAccounts(login);
if (similarPlayers == null)
@@ -691,7 +691,7 @@ public class AdminRequestHandler extends LotroServerRequestHandler implements Ur
_chatServer.sendSystemMessageToAllChatRooms("@everyone Server is reloading card definitions. This will impact game speed until it is complete.");
Thread.sleep(1000);
Thread.sleep(6000);
_library.reloadCards();
_chatServer.sendSystemMessageToAllChatRooms("@everyone Card definition reload complete. If you are mid-game and you notice any oddities, please let the mod team know in the game hall ASAP.");

View File

@@ -395,6 +395,10 @@ table.tables tr.privateForPlayer {
color: #5f5f5f;
}
.user-mention.systemMessage {
color: #FFFFFF;
}
.warningMessage {
color: #ff0000;
}