diff options
author | Zoffix Znet <cpan@zoffix.com> | 2016-07-26 08:53:29 -0400 |
---|---|---|
committer | Zoffix Znet <cpan@zoffix.com> | 2016-07-26 08:53:29 -0400 |
commit | 226a5ccd074b8840ca83d50376f8b26b9d9ffd97 (patch) | |
tree | 7521357332940c246a3076ca27ea7625c02f8147 /lib/IRC/Client/Message.pm6 | |
parent | ea2c4707a526cc9746ed929e7a38d932721db624 (diff) |
More stuff
Diffstat (limited to 'lib/IRC/Client/Message.pm6')
-rw-r--r-- | lib/IRC/Client/Message.pm6 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/IRC/Client/Message.pm6 b/lib/IRC/Client/Message.pm6 index 84eba2c..9559fd1 100644 --- a/lib/IRC/Client/Message.pm6 +++ b/lib/IRC/Client/Message.pm6 @@ -39,8 +39,8 @@ role Privmsg does M { role Privmsg::Channel does Privmsg { has $.channel; method reply ($text, :$where) { - $.irc.send-cmd: 'PRIVMSG', $where // $.channel, "$.nick, $text", - :$.server; + $.irc.send-cmd: 'PRIVMSG', $where // $.channel, $text, + :$.server, :prefix("$.nick, "); } } role Privmsg::Me does Privmsg { @@ -57,8 +57,8 @@ role Notice does M { role Notice::Channel does Notice { has $.channel; method reply ($text, :$where) { - $.irc.send-cmd: 'NOTICE', $where // $.channel, "$.nick, $text", - :$.server; + $.irc.send-cmd: 'NOTICE', $where // $.channel, $text, + :$.server, :prefix("$.nick, "); $.replied = True; } } |