summaryrefslogtreecommitdiff
path: root/src/Server/CommandsTable.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server/CommandsTable.java')
-rw-r--r--src/Server/CommandsTable.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Server/CommandsTable.java b/src/Server/CommandsTable.java
index ead56d9..d9b4110 100644
--- a/src/Server/CommandsTable.java
+++ b/src/Server/CommandsTable.java
@@ -79,6 +79,11 @@ class CommandPrivmsg extends Command
while (iter.hasNext())
{
Connection con = iter.next();
+
+ if (client.IfMyCon(con))
+ {
+ continue;
+ }
ports += con.toString();
this.println(con.getClient(), "PRIVMSG " + starr[0] + " :" + line);
}