diff options
author | Zoffix Znet <cpan@zoffix.com> | 2016-06-09 21:53:21 -0400 |
---|---|---|
committer | Zoffix Znet <cpan@zoffix.com> | 2016-06-09 21:53:21 -0400 |
commit | 7a17edf5807b585698a219aaf551f1393139c001 (patch) | |
tree | 9461ca747fadfcd33d379bc9c0409c9d3dcc4dcc /lib/IRC | |
parent | 140959e4f170d732d990e69b9a0ca129b89e3ac4 (diff) |
Fix multi-channel join for non-spec-conforming servers
Diffstat (limited to 'lib/IRC')
-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 cacd7c1..6803203 100644 --- a/lib/IRC/Client.pm6 +++ b/lib/IRC/Client.pm6 @@ -80,7 +80,7 @@ method !handle-event ($e) { given $e.command { when '001' { %!servers{ $e.server }<nick> = $e.args[0]; - self!ssay: "JOIN @.channels[]", :server($e.server); + self!ssay: "JOIN $_", :server($e.server) for @.channels; } when 'PING' { $e.reply } when 'JOIN' { |