disable lan

This commit is contained in:
Green Sky 2023-12-16 20:44:23 +01:00
parent 85a06de59a
commit 30f96b780b
No known key found for this signature in database

View File

@ -1,4 +1,5 @@
#include "./tox_client.hpp"
#include "toxcore/tox.h"
// meh, change this
#include <exception>
@ -71,6 +72,7 @@ ToxClient::ToxClient(std::string_view save_path, std::string_view save_password)
}
}
tox_options_set_local_discovery_enabled(options, false);
tox_options_set_log_callback(options, tmp_tox_log_cb);
TOX_ERR_NEW err_new;