about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--fun/paroxysm/src/main.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/fun/paroxysm/src/main.rs b/fun/paroxysm/src/main.rs
index 63863340eb68..e28fc779335a 100644
--- a/fun/paroxysm/src/main.rs
+++ b/fun/paroxysm/src/main.rs
@@ -301,8 +301,12 @@ impl App {
                 }
             }
             None => {
-                self.client
-                    .send_notice(target, format!("\x02{}\x0f: never heard of it", subj))?;
+                // If someone just posts "??????????", don't spam the channel with
+                // an error message (but do allow joke entries to appear if set).
+                if !subj.chars().all(|c| c == '?' || c == ' ') {
+                    self.client
+                        .send_notice(target, format!("\x02{}\x0f: never heard of it", subj))?;
+                }
             }
         }
         Ok(())