summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDor Bivas <dor1_b@walla.com>2014-03-29 16:11:15 +0300
committerDor Bivas <dor1_b@walla.com>2014-03-29 16:11:15 +0300
commitd008f730a318bc1daf603ac6520293c808a054b2 (patch)
tree9762b374bb1915023e57934646064b0770923be5
parente8544ffd7d4d2985028be9fd3fac68ff7d7f014b (diff)
Server: Remove fixme's and white spaces.
-rw-r--r--src/Server/CommandsTable.java8
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());
}
}