aboutsummaryrefslogtreecommitdiffstats
path: root/mumlib/src/command.rs
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-06-07 17:58:06 +0200
committerGustav Sörnäs <gustav@sornas.net>2021-06-07 17:58:06 +0200
commitc6d63f0b5c231bfc42128a670923a660fabd1835 (patch)
tree44af7c6c6937eda97a3f8bafb575b9d763d36aa3 /mumlib/src/command.rs
parentbe76c2aa51733a0cf495e92659fbcbe527f41149 (diff)
downloadmum-c6d63f0b5c231bfc42128a670923a660fabd1835.tar.gz
default send message to current channel if no channel specified
Diffstat (limited to 'mumlib/src/command.rs')
-rw-r--r--mumlib/src/command.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mumlib/src/command.rs b/mumlib/src/command.rs
index 351d7f6..f8a8fc8 100644
--- a/mumlib/src/command.rs
+++ b/mumlib/src/command.rs
@@ -69,6 +69,7 @@ pub enum CommandResponse {
#[derive(Clone, Debug, Deserialize, Serialize)]
pub enum MessageTarget {
+ CurrentChannel {recursive: bool },
Channel { recursive: bool, name: String },
User { name: String },
}