aboutsummaryrefslogtreecommitdiffstats
path: root/mumlib
diff options
context:
space:
mode:
Diffstat (limited to 'mumlib')
-rw-r--r--mumlib/src/state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mumlib/src/state.rs b/mumlib/src/state.rs
index 9c71b47..faf0c60 100644
--- a/mumlib/src/state.rs
+++ b/mumlib/src/state.rs
@@ -41,7 +41,7 @@ impl Channel {
} else {
Some(0)
},
- user: if self.users.is_empty() > 0 {
+ user: if self.users.is_empty() {
None
} else {
Some(0)