aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Plugin/Dad.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugin/Dad.pm b/Plugin/Dad.pm
index 096017f..27d10aa 100644
--- a/Plugin/Dad.pm
+++ b/Plugin/Dad.pm
@@ -35,7 +35,7 @@ sub on_message {
$what = Encode::decode('utf8', $what);
print "$what\n";
- if ($what =~ /^i('\''|\s+a)m\s+(\w+)\s*$/) {
+ if ($what =~ /^i('|\s+a)m\s+(\w+)\s*$/) {
return "Hi ".$2.", I'm dad";
}
return;