diff options
| author | David Phillips <david@yeah.nah.nz> | 2018-10-29 20:46:54 +1300 | 
|---|---|---|
| committer | David Phillips <david@yeah.nah.nz> | 2018-10-29 20:46:54 +1300 | 
| commit | df66c56970b5cc571855f2a8615648775cf938e7 (patch) | |
| tree | be98769c02bfea856fabd2819f23dc79c25a9ab9 | |
| parent | 2d979a4ecc83b7760206222591df65f4af09c05e (diff) | |
| download | idalius-df66c56970b5cc571855f2a8615648775cf938e7.tar.xz | |
Natural: Change some silly regex to equality
| -rw-r--r-- | Plugin/Natural.pm | 4 | 
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; | 
