mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
darkirc: send server reply of rehash command
This commit is contained in:
@@ -731,7 +731,7 @@ impl Client {
|
||||
error!("Failed to rehash server: {}", e);
|
||||
}
|
||||
|
||||
Ok(vec![])
|
||||
Ok(vec![ReplyType::Server((RPL_REHASHING, format!("Config reloaded!")))])
|
||||
}
|
||||
|
||||
/// `TOPIC <channel> [<topic>]`
|
||||
|
||||
@@ -147,6 +147,12 @@ pub const RPL_MOTD: u16 = 372;
|
||||
/// Indicates the end of the Message of the Day to the client.
|
||||
pub const RPL_ENDOFMOTD: u16 = 376;
|
||||
|
||||
/// `<client> <config file> :Rehashing`
|
||||
///
|
||||
/// Sent to an operator which has just successfully issued a REHASH
|
||||
/// command.
|
||||
pub const RPL_REHASHING: u16 = 382;
|
||||
|
||||
/// `<client> <nickname> :No such nick/channel`
|
||||
///
|
||||
/// Indicates that no client can be found for the supplied nickname.
|
||||
|
||||
Reference in New Issue
Block a user