diff options
-rw-r--r-- | src/Server/CommandsTable.java | 8 |
1 files 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()); } } |