Commit a1c95125 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Minor modification.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1564 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3baf1d09
......@@ -146,7 +146,9 @@ public class OutgoingServerSession extends Session {
while (index > -1 && index < hostname.length()) {
String newHostname = hostname.substring(index + 1);
if ("com".equals(newHostname) || "net".equals(newHostname) ||
"org".equals(newHostname) || "gov".equals(newHostname)) {
"org".equals(newHostname) ||
"gov".equals(newHostname) ||
"edu".equals(newHostname)) {
return false;
}
session =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment