From 94f8f5a12b6845bdb10975899ff690a74a88666d Mon Sep 17 00:00:00 2001 From: skoupidi Date: Fri, 24 Jan 2025 23:24:35 +0200 Subject: [PATCH] darkirc/irc/client: stupidy of highest order --- bin/darkirc/src/irc/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/darkirc/src/irc/client.rs b/bin/darkirc/src/irc/client.rs index 4f3e24a55600..671af63edd32 100644 --- a/bin/darkirc/src/irc/client.rs +++ b/bin/darkirc/src/irc/client.rs @@ -571,7 +571,7 @@ impl Client { // TODO: Perhaps this could also be configurable. Like what // moderation actions we allow per channel. let command = modmsg.command.to_uppercase().to_string(); - if !["MOTD"].contains(&command.as_str()) { + if !["TOPIC"].contains(&command.as_str()) { return true }