summaryrefslogtreecommitdiff
path: root/src/Server/Client.java
diff options
context:
space:
mode:
authordor <dor1_b@walla.com>2014-03-14 20:49:48 +0200
committerTzafrir Cohen <tzafrir@cohens.org.il>2014-03-16 03:06:04 +0200
commit96992731ecf46ec8578b950f63243792eb176ee9 (patch)
treec3b85da49cb1c755f2edc722104251e6362d447f /src/Server/Client.java
parentfab63b7b17552f724a04459f0f60667f947aada6 (diff)
Server: dont let originatore get its message.
Diffstat (limited to 'src/Server/Client.java')
-rw-r--r--src/Server/Client.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Server/Client.java b/src/Server/Client.java
index 315c363..73e5b3d 100644
--- a/src/Server/Client.java
+++ b/src/Server/Client.java
@@ -18,6 +18,12 @@ public class Client
this.output = output;
this.con = con;
}
+ /** returning if an Connection is my'n */
+ public boolean IfMyCon (Connection con)
+ {
+ return con == this.con;
+ }
+
/** returning the nick name */
public String getNick()
{