diff options
author | Zoffix Znet <cpan@zoffix.com> | 2016-07-28 23:14:23 -0400 |
---|---|---|
committer | Zoffix Znet <cpan@zoffix.com> | 2016-07-28 23:14:23 -0400 |
commit | 311095fd68090ed82e9fff9f71003bc5247a108b (patch) | |
tree | 0586746065b1e974a08d4289ae532cc6fba54efe /lib/IRC | |
parent | c19961745015bf5f9c2ef242895aa3778f8ec8ef (diff) |
Document irc-started caveats
Diffstat (limited to 'lib/IRC')
-rw-r--r-- | lib/IRC/Client.pm6 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/IRC/Client.pm6 b/lib/IRC/Client.pm6 index adc885b..863b50f 100644 --- a/lib/IRC/Client.pm6 +++ b/lib/IRC/Client.pm6 @@ -81,8 +81,6 @@ method part (*@channels, :$server) { method run { .irc = self for @.plugins.grep: { .DEFINITE and .^can: 'irc' }; - .irc-started for self!plugs-that-can('irc-started', $e); - start { my $closed = $!event-pipe.closed; loop { @@ -99,6 +97,7 @@ method run { } self!connect-socket: $_ for %!servers.values; + .irc-started for self!plugs-that-can('irc-started', $e); loop { my $s = $!socket-pipe.receive; self!connect-socket: $s unless $s.has-quit; |