aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1b616ce..f2f73a7 100644
--- a/lib/IRC/Client.pm6
+++ b/lib/IRC/Client.pm6
@@ -221,7 +221,7 @@ method !handle-event ($e) {
given $e.command {
when '001' {
$s.current-nick = $e.args[0];
- self!ssay: "JOIN $_", :server($s) for |$s.channels;
+ self.join: $s.channels, :server($s);
}
when 'PING' { return $e.reply; }
when '433'|'432' { self!change-nick: $s; }