aboutsummaryrefslogtreecommitdiffstats
path: root/mumd
diff options
context:
space:
mode:
authorEskil Queseth <eskilq@kth.se>2020-10-17 15:46:30 +0200
committerEskil Queseth <eskilq@kth.se>2020-10-17 15:46:30 +0200
commit8213d5769c771641f906611aeb427a93f25e2e95 (patch)
tree5ca506e727f72d9196db0922eddb281001c07348 /mumd
parentee2e621d5b19de08becd33c13520f8826407cf84 (diff)
downloadmum-8213d5769c771641f906611aeb427a93f25e2e95.tar.gz
clean up debug prints
Diffstat (limited to 'mumd')
-rw-r--r--mumd/src/state.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/mumd/src/state.rs b/mumd/src/state.rs
index 4f37364..e4552f0 100644
--- a/mumd/src/state.rs
+++ b/mumd/src/state.rs
@@ -380,8 +380,6 @@ pub fn into_channel(channels: HashMap<u32, Channel>, users: HashMap<u32, User>)
channel_lookup.entry(user.channel).or_insert(Vec::new()).push(user);
}
- debug!("{:?}", channel_lookup);
-
for (channel_id, channel) in &channels {
let mut walk = Vec::new();
let mut current = *channel_id;
@@ -406,9 +404,6 @@ pub fn into_channel(channels: HashMap<u32, Channel>, users: HashMap<u32, User>)
proto_tree.walk_and_add(channel, &channel_lookup, &walk);
}
- debug!("{:#?}", channels);
- debug!("{:#?}", proto_tree);
-
(&proto_tree).into()
}