aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/IRC/Client.pm62
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IRC/Client.pm6 b/lib/IRC/Client.pm6
index 486bfcd..7dbadf9 100644
--- a/lib/IRC/Client.pm6
+++ b/lib/IRC/Client.pm6
@@ -235,7 +235,7 @@ method !handle-event ($e) {
given $event-name {
when 'irc-privmsg-channel' | 'irc-notice-channel' {
my $nick = $s.current-nick;
- if $e.text.subst-mutate: /^ $nick <[,:\s]> \s* /, '' {
+ if $e.text.subst-mutate: /^ $nick <[,:]> \s* /, '' {
take 'irc-addressed', ('irc-to-me' if $s.is-connected);
}
elsif $e.text ~~ / << $nick >> / and $s.is-connected {