Skip to content
Browse files

fix joining of multiple channels

  • Loading branch information...
1 parent 21fd914 commit 9c45729484d202b8f0606849cc105d341bb190f9 @moritz moritz committed Feb 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Net/IRC/Handlers/Default.pm
View
2 lib/Net/IRC/Handlers/Default.pm
@@ -36,7 +36,7 @@ class Net::IRC::Handlers::Default {
#Autojoin method. Handy.
multi method connected($ev) {
- $ev.conn.sendln("JOIN $_") for $ev.state<autojoin>;
+ $ev.conn.sendln("JOIN $_") for $ev.state<autojoin>.list;
}

0 comments on commit 9c45729

Please sign in to comment.
Something went wrong with that request. Please try again.