summaryrefslogtreecommitdiffstats
path: root/Net
diff options
context:
space:
mode:
authorLibravatarJanik Kleinhoff <janik@kleinhoff.de>2015-03-01 06:16:11 +0400
committerLibravatarJanik Kleinhoff <janik@kleinhoff.de>2015-03-01 06:16:11 +0400
commite2ea35779556658a899ee23b7b811997979e41c4 (patch)
tree9242f8a597c52a94df42be62fb6372e0a2d7fa20 /Net
parent2aea23ca6c9819d89440244dab0e072d980cea78 (diff)
Net/IRC/Event.pm: replyto: handle STATUSMSG
Diffstat (limited to 'Net')
-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};