From df66c56970b5cc571855f2a8615648775cf938e7 Mon Sep 17 00:00:00 2001
From: David Phillips <david@yeah.nah.nz>
Date: Mon, 29 Oct 2018 20:46:54 +1300
Subject: Natural: Change some silly regex to equality

---
 Plugin/Natural.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'Plugin')

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;
-- 
cgit v1.1