Explorar o código

increase maximum length of nick to 32

narodnik %!s(int64=4) %!d(string=hai) anos
pai
achega
f9b4c1d913
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bin/ircd/src/main.rs

+ 1 - 1
bin/ircd/src/main.rs

@@ -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