diff options
| author | Eskil Queseth <eskilq@kth.se> | 2020-10-17 15:46:30 +0200 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2020-10-17 15:46:30 +0200 |
| commit | 8213d5769c771641f906611aeb427a93f25e2e95 (patch) | |
| tree | 5ca506e727f72d9196db0922eddb281001c07348 /mumd/src | |
| parent | ee2e621d5b19de08becd33c13520f8826407cf84 (diff) | |
| download | mum-8213d5769c771641f906611aeb427a93f25e2e95.tar.gz | |
clean up debug prints
Diffstat (limited to 'mumd/src')
| -rw-r--r-- | mumd/src/state.rs | 5 |
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() } |
