From 6d73d7af0c5b53a8713ef59b857d1487a00d799d Mon Sep 17 00:00:00 2001 From: Colin McKechney Date: Sat, 30 Mar 2024 09:06:34 -0700 Subject: [PATCH] Force to be at the start of the line --- src/modules/help.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/help.rs b/src/modules/help.rs index 86e4ddb..76f1688 100644 --- a/src/modules/help.rs +++ b/src/modules/help.rs @@ -1,7 +1,7 @@ use irc::proto::Message; use std::collections::VecDeque; -pub const PATTERN: &str = "\\$help(?: (.*))?"; +pub const PATTERN: &str = "^\\$help(?: (.*))?"; pub const NAME: &str = "help"; pub const USAGE: &str = "You just used it";