aboutsummaryrefslogtreecommitdiff
path: root/lib/IRC/Client/Message.pm6
diff options
context:
space:
mode:
authorZoffix Znet <cpan@zoffix.com>2016-07-30 21:07:49 -0400
committerZoffix Znet <cpan@zoffix.com>2016-07-30 21:07:49 -0400
commit6edfc2405f31181c133579857b1498ff613ad479 (patch)
treeb3a5fc5d9cd9bb2fc8bfa4d5aebbddd9fbf7ae8b /lib/IRC/Client/Message.pm6
parent04be2b889cc95bd8c96d10f70a4ce44bdde11239 (diff)
Fix broken regex match in signature3.003005
Diffstat (limited to 'lib/IRC/Client/Message.pm6')
-rw-r--r--lib/IRC/Client/Message.pm62
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IRC/Client/Message.pm6 b/lib/IRC/Client/Message.pm6
index 6e92e82..bb1a40b 100644
--- a/lib/IRC/Client/Message.pm6
+++ b/lib/IRC/Client/Message.pm6
@@ -34,7 +34,7 @@ role Ping does M {
role Privmsg does M {
has $.text is rw;
has Bool $.replied is rw = False;
- method ACCEPTS ($what) { $.text ~~ $what }
+ method Str { $.text }
}
role Privmsg::Channel does Privmsg {
has $.channel;