From 93a5385f106b820afc93bb54aa0240e876988920 Mon Sep 17 00:00:00 2001 From: CodeForFame Date: Sat, 25 Jun 2011 01:09:09 -0500 Subject: [PATCH] Fixed spelling error. --- .../src/org/moparscape/msc/gs/db/ReportHandlerQueries.java | 2 +- .../moparscape/msc/gs/phandler/client/ReportHandler.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/GameServer/src/org/moparscape/msc/gs/db/ReportHandlerQueries.java b/GameServer/src/org/moparscape/msc/gs/db/ReportHandlerQueries.java index fe9cf39..59b40d5 100644 --- a/GameServer/src/org/moparscape/msc/gs/db/ReportHandlerQueries.java +++ b/GameServer/src/org/moparscape/msc/gs/db/ReportHandlerQueries.java @@ -53,7 +53,7 @@ public class ReportHandlerQueries { * @param reason * What type of a report is this */ - public synchronized void submitRepot(long from, long about, byte reason, + public synchronized void submitReport(long from, long about, byte reason, Player from2) { long time = GameEngine.getTime() / 1000; diff --git a/GameServer/src/org/moparscape/msc/gs/phandler/client/ReportHandler.java b/GameServer/src/org/moparscape/msc/gs/phandler/client/ReportHandler.java index af985b0..5628544 100644 --- a/GameServer/src/org/moparscape/msc/gs/phandler/client/ReportHandler.java +++ b/GameServer/src/org/moparscape/msc/gs/phandler/client/ReportHandler.java @@ -38,16 +38,16 @@ public class ReportHandler implements PacketHandler { return; } AlertHandler.sendAlert( - player.getUsername() + " sent a repot about: " + player.getUsername() + " sent a report about: " + DataConversions.hashToUsername(temp), 1); // Instance.getServer().getLoginConnector().getActionSender().reportUser(player.getUsernameHash(), // temp, b); - Instance.getReport().submitRepot(player.getUsernameHash(), temp, b, + Instance.getReport().submitReport(player.getUsernameHash(), temp, b, player); player.setLastReport(); world.addEntryToSnapshots(new Activity(player.getUsername(), player .getUsername() - + " sent a repot about: " + + " sent a report about: " + DataConversions.hashToUsername(temp))); player.getActionSender().sendMessage( "Your report has been received, thank you.");