aboutsummaryrefslogtreecommitdiffstats
path: root/aerc.go
diff options
context:
space:
mode:
Diffstat (limited to 'aerc.go')
-rw-r--r--aerc.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/aerc.go b/aerc.go
index f4247ed5..49684c53 100644
--- a/aerc.go
+++ b/aerc.go
@@ -214,13 +214,11 @@ func main() {
ui.EnableMouse()
}
- as, err := ipc.StartServer()
+ as, err := ipc.StartServer(aerc)
if err != nil {
log.Warnf("Failed to start Unix server: %v", err)
} else {
defer as.Close()
- as.OnMailto = aerc.Mailto
- as.OnMbox = aerc.Mbox
}
// set the aerc version so that we can use it in the template funcs