summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commands/general/config.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commands/general/config.rs b/src/commands/general/config.rs
index 358ee69..bd16f0e 100644
--- a/src/commands/general/config.rs
+++ b/src/commands/general/config.rs
@@ -84,9 +84,7 @@ pub async fn set(
if let Some(watch) = pinboard_watch {
let channels = split_argument(&watch);
- debug!("Setting pinboard_watch to {channels:#?} for {gid}");
-
- settings.pinboard_watch = Some(channels);
+ settings.pinboard_watch = (!channels.is_empty()).then_some(channels);
}
if let Some(enabled) = pinboard_enabled {