aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ipc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ipc')
-rw-r--r--lib/ipc/receive.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/ipc/receive.go b/lib/ipc/receive.go
index ff837d0f..bba365b6 100644
--- a/lib/ipc/receive.go
+++ b/lib/ipc/receive.go
@@ -9,7 +9,6 @@ import (
"sync/atomic"
"time"
- "git.sr.ht/~rjarry/aerc/config"
"git.sr.ht/~rjarry/aerc/lib/log"
"git.sr.ht/~rjarry/aerc/lib/xdg"
)
@@ -97,9 +96,6 @@ func (as *AercServer) Serve() {
}
func (as *AercServer) handleMessage(req *Request) *Response {
- if config.General.DisableIPC {
- return &Response{Error: "command rejected: IPC is disabled"}
- }
err := as.handler.Command(req.Arguments)
if err != nil {
return &Response{Error: err.Error()}