aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZoffix Znet <cpan@zoffix.com>2016-08-08 10:15:19 -0400
committerZoffix Znet <cpan@zoffix.com>2016-08-08 10:15:19 -0400
commit029c43c63b938c991a10cf27eb75907bc6d8623e (patch)
tree4dc840e5b97d435b6fabe6f08ba2ae08b62e360d /lib
parentb1e795877f2447bc634cbb4b269f9ac8bebd67f3 (diff)
Emit irc-started before any connection is made3.006002
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 34e6f54..3879ac9 100644
--- a/lib/IRC/Client.pm6
+++ b/lib/IRC/Client.pm6
@@ -119,8 +119,8 @@ method run {
CATCH { default { warn $_; warn .backtrace } }
}
- self!connect-socket: $_ for %!servers.values;
.irc-started for self!plugs-that-can('irc-started');
+ self!connect-socket: $_ for %!servers.values;
loop {
my $s = $!socket-pipe.receive;
self!connect-socket: $s unless $s.has-quit;