diff --git a/src/lib/client/Client.cpp b/src/lib/client/Client.cpp index c917606f..b11ef020 100644 --- a/src/lib/client/Client.cpp +++ b/src/lib/client/Client.cpp @@ -363,7 +363,7 @@ Client::setOptions(const OptionsList& options) if (id == kOptionClipboardSharing) { index++; if (index != options.end()) { - if (*index) { + if (!*index) { LOG((CLOG_NOTE "clipboard sharing is disabled")); } m_enableClipboard = *index;