dev-laptop #1

Merged
vanten-s merged 6 commits from dev-laptop into main 2023-10-09 14:37:41 +02:00
Showing only changes of commit 7b6b59879e - Show all commits

View file

@ -10,9 +10,7 @@ use std::sync::mpsc;
use std::thread;
use std::{env, fs};
mod encryption;
mod listener_server;
mod message_stream;
mod writer_client;
macro_rules! try_recv {
@ -35,7 +33,7 @@ fn bytes_to_privmsg_base64(message: Vec<u8>, reciever: &str) -> String {
.encode(message)
.chars()
.collect::<Vec<char>>()
.chunks(50)
.chunks(500)
.map(|c| c.iter().collect::<String>())
{
command.push_str(&format!("PRIVMSG {reciever} :{line}\r\n"));