From 71941137265669013ef64473748c4fde6bc48f1c Mon Sep 17 00:00:00 2001 From: Eskil Queseth Date: Tue, 3 Nov 2020 21:08:46 +0100 Subject: add mumd support for muting users --- mumlib/src/command.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mumlib/src/command.rs') diff --git a/mumlib/src/command.rs b/mumlib/src/command.rs index e404056..63dd5f9 100644 --- a/mumlib/src/command.rs +++ b/mumlib/src/command.rs @@ -18,6 +18,9 @@ pub enum Command { }, ServerDisconnect, Status, + DeafenSelf, + MuteSelf, + MuteOther(String), } #[derive(Debug, Deserialize, Serialize)] -- cgit v1.2.1 From 22579ced3d1d847a14683fe3b47fa2076df01751 Mon Sep 17 00:00:00 2001 From: Eskil Queseth Date: Thu, 5 Nov 2020 00:44:04 +0100 Subject: add mute feature --- mumlib/src/command.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mumlib/src/command.rs') diff --git a/mumlib/src/command.rs b/mumlib/src/command.rs index 28b4d79..675fb7d 100644 --- a/mumlib/src/command.rs +++ b/mumlib/src/command.rs @@ -20,13 +20,13 @@ pub enum Command { }, ServerDisconnect, Status, - DeafenSelf, - MuteSelf, - MuteOther(String), ServerStatus { host: String, port: u16, }, + DeafenSelf(Option), + MuteSelf(Option), + MuteOther(String, Option), } #[derive(Debug, Deserialize, Serialize)] -- cgit v1.2.1