forked from Green-Sky/tomato
disable lan
This commit is contained in:
parent
85a06de59a
commit
30f96b780b
@ -1,4 +1,5 @@
|
|||||||
#include "./tox_client.hpp"
|
#include "./tox_client.hpp"
|
||||||
|
#include "toxcore/tox.h"
|
||||||
|
|
||||||
// meh, change this
|
// meh, change this
|
||||||
#include <exception>
|
#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_options_set_log_callback(options, tmp_tox_log_cb);
|
||||||
|
|
||||||
TOX_ERR_NEW err_new;
|
TOX_ERR_NEW err_new;
|
||||||
|
Loading…
Reference in New Issue
Block a user