aboutsummaryrefslogtreecommitdiffstats
path: root/mumlib/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mumlib/src/command.rs')
-rw-r--r--mumlib/src/command.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/mumlib/src/command.rs b/mumlib/src/command.rs
index b2ac321..d273ee9 100644
--- a/mumlib/src/command.rs
+++ b/mumlib/src/command.rs
@@ -1,7 +1,6 @@
use crate::state::{Channel, Server};
use serde::{Deserialize, Serialize};
-use std::collections::HashMap;
#[derive(Clone, Debug, Deserialize, Serialize)]
pub enum Command {
@@ -22,7 +21,7 @@ pub enum Command {
#[derive(Debug, Deserialize, Serialize)]
pub enum CommandResponse {
ChannelList {
- channels: HashMap<u32, Channel>,
+ channels: Channel,
},
Status {
username: Option<String>,