aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Plugin/Men.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugin/Men.pm b/Plugin/Men.pm
index 1e8d71a..e7d4592 100644
--- a/Plugin/Men.pm
+++ b/Plugin/Men.pm
@@ -23,7 +23,7 @@ sub on_message {
$where = $where->[0];
}
- if ($what =~ /(\b.+men.+\b)/) {
+ if ($what =~ /(\w+men\w+)/) {
my ($w, $c, $target);
$w = $c = $target = $1;
$w =~ s/men/women/;