aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/IRC/Client.pm62
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' {