mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 20:29:19 -08:00
added optional SSL encryption
This commit is contained in:
parent
a168d53966
commit
b41cbe2703
11 changed files with 55 additions and 13 deletions
|
|
@ -699,7 +699,7 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
|||
|
||||
public boolean connect(Connection connection) {
|
||||
client = new Client(instance);
|
||||
boolean result = client.connect(connection.getUsername(), connection.getHost(), connection.getPort(), version);
|
||||
boolean result = client.connect(connection.getUsername(), connection.getHost(), connection.getPort(), true, version);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue