fix: fix sending of motd
This commit is contained in:
parent
cecd44b170
commit
5fc37f82e5
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ impl IrcResponseCodes {
|
||||||
pub fn into_irc_response(&self, receiver: String, message: String) -> IrcResponse {
|
pub fn into_irc_response(&self, receiver: String, message: String) -> IrcResponse {
|
||||||
IrcResponse {
|
IrcResponse {
|
||||||
sender: None,
|
sender: None,
|
||||||
command: (*self).into(),
|
command: format!("{:03}", (*self) as u16),
|
||||||
arguments: Vec::new(),
|
arguments: Vec::new(),
|
||||||
receiver: Some(receiver),
|
receiver: Some(receiver),
|
||||||
message,
|
message,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue