fix: fix sending of motd
All checks were successful
build / test-alpine (push) Successful in 29s
build / test-debian (push) Successful in 50s

This commit is contained in:
user0-07161 2026-02-15 20:45:58 +01:00
parent cecd44b170
commit 5fc37f82e5

View file

@ -72,7 +72,7 @@ impl IrcResponseCodes {
pub fn into_irc_response(&self, receiver: String, message: String) -> IrcResponse {
IrcResponse {
sender: None,
command: (*self).into(),
command: format!("{:03}", (*self) as u16),
arguments: Vec::new(),
receiver: Some(receiver),
message,