aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src/state
diff options
context:
space:
mode:
Diffstat (limited to 'mumd/src/state')
-rw-r--r--mumd/src/state/user.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/mumd/src/state/user.rs b/mumd/src/state/user.rs
index 98f34bc..848208c 100644
--- a/mumd/src/state/user.rs
+++ b/mumd/src/state/user.rs
@@ -121,6 +121,14 @@ impl User {
pub fn channel(&self) -> u32 {
self.channel
}
+
+ pub fn self_mute(&self) -> bool {
+ self.self_mute
+ }
+
+ pub fn self_deaf(&self) -> bool {
+ self.self_deaf
+ }
}
impl From<&User> for mumlib::state::User {