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 e7d4592..38af3ea 100644
--- a/Plugin/Men.pm
+++ b/Plugin/Men.pm
@@ -23,7 +23,7 @@ sub on_message {
$where = $where->[0];
}
- if ($what =~ /(\w+men\w+)/) {
+ if ($what =~ /(\w*men\w*)/) {
my ($w, $c, $target);
$w = $c = $target = $1;
$w =~ s/men/women/;