updated
git-svn-id: svn://anubis/gvsu@262 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
parent
a4eacc63fe
commit
875855f5a2
@ -295,14 +295,6 @@ public class ChatClient
|
|||||||
}
|
}
|
||||||
unregister();
|
unregister();
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
myPServ.leave(); /* Leave the Chord network */
|
|
||||||
}
|
|
||||||
catch (Exception e)
|
|
||||||
{
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
System.exit(0);
|
System.exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -340,10 +332,10 @@ public class ChatClient
|
|||||||
switch (arg)
|
switch (arg)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
user = s.replace(' ', '_');
|
user = args[arg].replace(' ', '_');
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
host = s;
|
host = args[arg];
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
usage();
|
usage();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user