aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src/network/tcp.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mumd/src/network/tcp.rs')
-rw-r--r--mumd/src/network/tcp.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/mumd/src/network/tcp.rs b/mumd/src/network/tcp.rs
index a1b4597..fb5869d 100644
--- a/mumd/src/network/tcp.rs
+++ b/mumd/src/network/tcp.rs
@@ -314,12 +314,13 @@ async fn listen(
state.initialized();
}
ControlPacket::Reject(msg) => {
+ debug!("Login rejected: {:?}", msg);
match msg.get_field_type() {
msgs::Reject_RejectType::WrongServerPW => {
event_queue.send(TcpEventData::Connected(Err(Error::InvalidServerPassword))).await;
}
- _ => {
- warn!("Login rejected: {:?}", msg);
+ ty => {
+ warn!("Unhandled reject type: {:?}", ty);
}
}
}