Skip to content

Commit

Permalink
darkirc/irc/client: stupidy of highest order
Browse files Browse the repository at this point in the history
skoupidi committed Jan 24, 2025

Verified

This commit was signed with the committer’s verified signature.
Okabe-Junya Junya Okabe
1 parent da39c8c commit 94f8f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/darkirc/src/irc/client.rs
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 94f8f5a

Please sign in to comment.