summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Net/IRC/Event.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Net/IRC/Event.pm b/Net/IRC/Event.pm
index 8b01028..3359a2f 100644
--- a/Net/IRC/Event.pm
+++ b/Net/IRC/Event.pm
@@ -192,7 +192,7 @@ sub userhost {
#added by AfterDeath. Use this to reply to channel messages in channel, but private messages to the nick that sent it.
sub replyto {
my $self = shift;
- if ($self->{to}->[0] =~ /^#/) {
+ if ($self->{to}->[0] =~ /^[+@#&%]/) {
return $self->{to}->[0];
} else {
return $self->{nick};