aboutsummaryrefslogtreecommitdiff
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
parentb1e795877f2447bc634cbb4b269f9ac8bebd67f3 (diff)
Emit irc-started before any connection is made3.006002
-rw-r--r--Changes3
-rw-r--r--META6.json2
-rw-r--r--lib/IRC/Client.pm62
3 files changed, 5 insertions, 2 deletions
diff --git a/Changes b/Changes
index 0aabb3e..200152a 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
Revision history for IRC::Client
+3.006002 2016-08-08
+ - Emit irc-started before any connection is made
+
3.006001 2016-08-07
- Add `:alias` feature (#22)
diff --git a/META6.json b/META6.json
index 3ea5c8e..af98567 100644
--- a/META6.json
+++ b/META6.json
@@ -1,7 +1,7 @@
{
"perl" : "6.c",
"name" : "IRC::Client",
- "version" : "3.006001",
+ "version" : "3.006002",
"description" : "Extendable Internet Relay Chat client",
"depends" : [
],
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;