From 704ea67102de145333093fb6ea24f7f4f925e400 Mon Sep 17 00:00:00 2001 From: Andrew Kwon Date: Thu, 29 Apr 2021 22:59:44 -0700 Subject: [PATCH] Fix ipc socket log condition --- lua/presence/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/presence/init.lua b/lua/presence/init.lua index 68050ec..621fb67 100644 --- a/lua/presence/init.lua +++ b/lua/presence/init.lua @@ -95,7 +95,7 @@ function Presence:setup(options) self:set_option("debounce_timeout", 15) local discord_socket = self:get_discord_socket() - if discord_socket then + if not discord_socket then self.log:error("Failed to get Discord IPC socket") end