GUACAMOLE-249: Remove extra warning resulting from merge.

If the admin intentionally disables both copy and paste, then there is
no need to log a warning that this is the case; it was intentional. A
warning will likely set off alarm bells within production log monitoring
systems.
This commit is contained in:
Michael Jumper 2020-01-14 15:40:04 -08:00
parent 956c5f293e
commit fcac1a26f8

View File

@ -103,9 +103,6 @@ BOOL rdp_freerdp_pre_connect(freerdp* instance) {
/* Load "cliprdr" service if not disabled */
if (!(settings->disable_copy && settings->disable_paste))
guac_rdp_clipboard_load_plugin(rdp_client->clipboard, context);
else
guac_client_log(client, GUAC_LOG_WARNING,
"Copy and paste are both disabled. Clipboard plugin will not be loaded.");
/* If RDPSND/RDPDR required, load them */
if (settings->printing_enabled