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.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mumd/src/network/tcp.rs b/mumd/src/network/tcp.rs
index b6e939a..b513797 100644
--- a/mumd/src/network/tcp.rs
+++ b/mumd/src/network/tcp.rs
@@ -299,6 +299,8 @@ async fn listen(
notifications::send(format!("{}: {}", user, msg.get_message())); //TODO: probably want a config flag for this
}
state.register_message((msg.get_message().to_owned(), msg.get_actor()));
+ drop(state);
+ event_queue.resolve(TcpEventData::TextMessage(&*msg));
}
ControlPacket::CryptSetup(msg) => {
debug!("Crypt setup");