diff options
author | Zoffix Znet <zoffixznet@users.noreply.github.com> | 2018-10-13 11:15:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-13 11:15:56 -0400 |
commit | 3e585499c15be2cfc1eab2ca8572010eb50b2233 (patch) | |
tree | d134f939c733c55b39cc71dbfe1b56669dc79cbf | |
parent | 070c4b557a3c8d6c990897d2237c2a135b780a13 (diff) | |
download | irc-client-3e585499c15be2cfc1eab2ca8572010eb50b2233.tar.gz irc-client-3e585499c15be2cfc1eab2ca8572010eb50b2233.tar.bz2 |
s/subst<(\-mutate//
-rw-r--r-- | lib/IRC/Client.pm6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IRC/Client.pm6 b/lib/IRC/Client.pm6 index dec288f..7406944 100644 --- a/lib/IRC/Client.pm6 +++ b/lib/IRC/Client.pm6 @@ -245,7 +245,7 @@ method !handle-event ($e) { when 'irc-privmsg-channel' | 'irc-notice-channel' { my $nick = $s.current-nick; my @aliases = $s.alias; - if $e.text.subst-mutate: + if $e.text .= subst: /^ [ $nick | @aliases ] <[,:]> \s* /, '' { take 'irc-addressed', ('irc-to-me' if $s.is-connected); |