aboutsummaryrefslogtreecommitdiff
path: root/server/src/commands.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/commands.rs')
-rw-r--r--server/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/commands.rs b/server/src/commands.rs
index feb6ab65..25b51bff 100644
--- a/server/src/commands.rs
+++ b/server/src/commands.rs
@@ -195,7 +195,7 @@ impl Server {
.await
.map_err(|e| TrError::Plain(e.to_string()))?;
}
- Command::Book => replies.push(PacketC::Menu(Menu::Book)),
+ Command::Book => replies.push(PacketC::Menu(Menu::Document(self.data.book.clone()))),
Command::Download { r#type, name } => {
let source = match r#type {
DownloadType::Map => self.index.read_map(&name).await,