1
0
Fork 0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-12-29 19:32:05 +01:00

Fix ipc socket log condition

This commit is contained in:
Andrew Kwon 2021-04-29 22:59:44 -07:00
parent 8251620eb6
commit 704ea67102

View file

@ -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