|
|
|
@ -36,7 +36,7 @@ pub mod groups {
|
|
|
|
|
pub static ref SERVER_ERR: Vec<u8> = "!1\n5\n".as_bytes().to_owned();
|
|
|
|
|
pub static ref OTHER_ERR_EMPTY: Vec<u8> = "!1\n6\n".as_bytes().to_owned();
|
|
|
|
|
pub static ref HEYA: Vec<u8> = "+4\nHEY!\n".as_bytes().to_owned();
|
|
|
|
|
pub static ref UNKNOWN_ACTION: Vec<u8> = "!15\nUnknown action\n".as_bytes().to_owned();
|
|
|
|
|
pub static ref UNKNOWN_ACTION: Vec<u8> = "!14\nUnknown action\n".as_bytes().to_owned();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -54,7 +54,7 @@ pub mod fresp {
|
|
|
|
|
pub static ref R_SERVER_ERR: Vec<u8> = "#2\n*1\n#2\n&1\n!1\n5\n".as_bytes().to_owned();
|
|
|
|
|
pub static ref R_OTHER_ERR_EMPTY: Vec<u8> = "#2\n*1\n#2\n&1\n!1\n6\n".as_bytes().to_owned();
|
|
|
|
|
pub static ref R_HEYA: Vec<u8> = "#2\n*1\n#2\n&1\n+4\nHEY!\n".as_bytes().to_owned();
|
|
|
|
|
pub static ref R_UNKNOWN_ACTION: Vec<u8> = "#2\n*1\n#2\n&1\n!15\nUnknown action\n"
|
|
|
|
|
pub static ref R_UNKNOWN_ACTION: Vec<u8> = "#2\n*1\n#2\n&1\n!14\nUnknown action\n"
|
|
|
|
|
.as_bytes()
|
|
|
|
|
.to_owned();
|
|
|
|
|
}
|
|
|
|
|