mirror of
https://github.com/MeexReay/sRAC.git
synced 2025-06-24 02:22:57 +03:00
remove dbg!
This commit is contained in:
parent
a5120ddb82
commit
3c6f9fb006
18
src/logic.rs
18
src/logic.rs
@ -73,16 +73,14 @@ pub fn on_chunked_data(
|
||||
client_has: u64,
|
||||
) -> Result<Vec<u8>, Box<dyn Error>> {
|
||||
if let Some(url) = ctx.args.proxy_to.as_ref() {
|
||||
return dbg!(
|
||||
read_messages(
|
||||
&mut connect(url, ctx.args.use_proxy.clone())?,
|
||||
1024, // TODO: softcode this
|
||||
client_has as usize,
|
||||
true,
|
||||
)?
|
||||
.map(|o| (o.0.join("\n") + "\n").as_bytes().to_vec())
|
||||
.ok_or("err on reading in proxy mode".into())
|
||||
);
|
||||
return read_messages(
|
||||
&mut connect(url, ctx.args.use_proxy.clone())?,
|
||||
1024, // TODO: softcode this
|
||||
client_has as usize,
|
||||
true,
|
||||
)?
|
||||
.map(|o| (o.0.join("\n") + "\n").as_bytes().to_vec())
|
||||
.ok_or("err on reading in proxy mode".into());
|
||||
}
|
||||
|
||||
let messages = ctx.messages.read().unwrap().clone();
|
||||
|
Loading…
x
Reference in New Issue
Block a user