diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-09-18 10:07:50 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-09-18 10:07:50 +0800 |
| commit | f0972d0c8cd2e3248a80d1a46b987cc4b6edb89e (patch) | |
| tree | 208c548e3ac112ff928beb6a6842d1e73779fd2f /src/client/connector.rs | |
| parent | 6942320408b1e7882d9132edd45d781d49a6b570 (diff) | |
fix(force_network): wrong argument to parse into bool
Diffstat (limited to 'src/client/connector.rs')
| -rw-r--r-- | src/client/connector.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/connector.rs b/src/client/connector.rs index 50d5f65..ad06cca 100644 --- a/src/client/connector.rs +++ b/src/client/connector.rs @@ -23,7 +23,7 @@ pub trait Connection { fn get_ip(&self) -> Option<IpAddr>; fn force_network(&mut self) { - _ = Executor::new(&NETWORK_T, ["on"]); + _ = Executor::new(&NETWORK_T, ["true"]); } fn init<'a>(&self, c: &crate::client::Client<'a, Self>) -> std::result::Result<(), Self::Err> |
