From d008f730a318bc1daf603ac6520293c808a054b2 Mon Sep 17 00:00:00 2001 From: Dor Bivas Date: Sat, 29 Mar 2014 16:11:15 +0300 Subject: Server: Remove fixme's and white spaces. --- src/Server/CommandsTable.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Server/CommandsTable.java b/src/Server/CommandsTable.java index e52eb7a..65bbe03 100644 --- a/src/Server/CommandsTable.java +++ b/src/Server/CommandsTable.java @@ -21,7 +21,6 @@ public class CommandsTable public void runCommand (Client client , String commandName , String args) { - //FIXME: convert to upper case Command command = this.table.get(commandName); if (command == null) @@ -123,11 +122,10 @@ class CommandJoin extends Command public void run(Client client, String args) { - // FIXME : parse args to channel names and save client state + // NOTE: parse args to channel names and save client state // but right now everybody is on a single channel this.printUser(client, "JOIN " + ":" + args); this.println(client, "332 " + client.getNick() + " " + args + " :Welcome to the single channel"); - // } } @@ -142,7 +140,6 @@ class CommandUser extends Command } } -//FIXME: endless loop when client issues this command. /** Command that disconnect the client from the server*/ class CommandQuit extends Command { @@ -178,7 +175,6 @@ class CommandPing extends Command public void run(Client client, String args) { - this.println(client , "PONG " + args + " :" + client.getHostname()); //FIXME: needed massge return - + this.println(client , "PONG " + args + " :" + client.getHostname()); } } -- cgit v1.2.3