increase maximum length of nick to 32

This commit is contained in:
narodnik
2022-07-01 19:29:58 +02:00
parent 978028f741
commit f9b4c1d913

View File

@@ -41,7 +41,7 @@ use crate::{
const SIZE_OF_MSGS_BUFFER: usize = 4096;
pub const MAXIMUM_LENGTH_OF_MESSAGE: usize = 1024;
pub const MAXIMUM_LENGTH_OF_NICKNAME: usize = 9;
pub const MAXIMUM_LENGTH_OF_NICKNAME: usize = 32;
struct Ircd {
// msgs