bin/ircd: add LastTerm dispatcher

This commit is contained in:
ghassmo
2022-09-13 14:32:35 +04:00
parent cea9dde460
commit de28a50705

View File

@@ -77,7 +77,8 @@ impl ProtocolPrivmsg {
let message_subsytem = channel.get_message_subsystem();
message_subsytem.add_dispatch::<Privmsg>().await;
message_subsytem.add_dispatch::<Inv>().await;
message_subsytem.add_dispatch::<GetData>().await;
message_subsytem.add_dispatch::<GetData>().await;
message_subsytem.add_dispatch::<LastTerm>().await;
let msg_sub =
channel.clone().subscribe_msg::<Privmsg>().await.expect("Missing Privmsg dispatcher!");