summaryrefslogtreecommitdiff
path: root/client/application.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/application.go')
-rw-r--r--client/application.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/application.go b/client/application.go
index ad5f2c6..0debedd 100644
--- a/client/application.go
+++ b/client/application.go
@@ -27,9 +27,9 @@ type application struct {
activePaste <-chan string
}
-func newApplication(serverAddress string) *application {
+func newApplication(serverAddress string, insecure bool) *application {
var app application
- app.Client = client.New(serverAddress)
+ app.Client = client.New(serverAddress, insecure)
app.cache = object.NewCache(&app)
app.windowCache = window.NewCache()
app.goTo(app.cmdWindow.Location())