diff options
Diffstat (limited to 'lib/IRC/Client')
-rw-r--r-- | lib/IRC/Client/Message.pm6 | 2 |
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; |