aboutsummaryrefslogtreecommitdiff
path: root/Plugin
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2018-10-29 20:46:54 +1300
committerDavid Phillips <david@yeah.nah.nz>2018-10-29 20:46:54 +1300
commitdf66c56970b5cc571855f2a8615648775cf938e7 (patch)
treebe98769c02bfea856fabd2819f23dc79c25a9ab9 /Plugin
parent2d979a4ecc83b7760206222591df65f4af09c05e (diff)
downloadidalius-df66c56970b5cc571855f2a8615648775cf938e7.tar.xz
Natural: Change some silly regex to equality
Diffstat (limited to 'Plugin')
-rw-r--r--Plugin/Natural.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Plugin/Natural.pm b/Plugin/Natural.pm
index b324e8b..adc044c 100644
--- a/Plugin/Natural.pm
+++ b/Plugin/Natural.pm
@@ -69,9 +69,9 @@ sub choose_normal_response {
return some("D:", "ono", "*throws a lifeline to $nick");
} elsif ($what =~ /(:D|:\)|D:|:\||:\\|:C|:S)/) {
return some(":D", ":)", "D:", ":|", ":/", ":\\", ":S", ">:D", ">:(", ">>>:CCCC");
- } elsif ($what =~ /^o\/$/) {
+ } elsif ($what eq "o/") {
return "\\o";
- } elsif ($what =~ /^\\o$/) {
+ } elsif ($what eq "\\o") {
return "o/";
}
return;