aboutsummaryrefslogtreecommitdiff
path: root/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'Plugin')
-rw-r--r--Plugin/Natural.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugin/Natural.pm b/Plugin/Natural.pm
index 78ff916..d347dcc 100644
--- a/Plugin/Natural.pm
+++ b/Plugin/Natural.pm
@@ -60,7 +60,7 @@ sub on_message {
$where = $where->[0];
}
- return unless $what =~ /\b$root_config->{current_nick}\b/;
+ return unless $what =~ /\b\Q$root_config->{current_nick}\E\b/;
return unless mention_odds();
my $response = choose_response($what, $nick);