diff options
author | Zoffix Znet <cpan@zoffix.com> | 2016-07-28 23:06:52 -0400 |
---|---|---|
committer | Zoffix Znet <cpan@zoffix.com> | 2016-07-28 23:06:52 -0400 |
commit | 5e8e694253bdf96a4bf5963bc5d20b6afbde8967 (patch) | |
tree | c21b893eac7046208b99d02630e76cbe1806322b /lib/IRC/Client.pm6 | |
parent | d1bd6a42bdbd6269a648e48bbaf8bd91a7ca8d12 (diff) |
Add irc-started event
Diffstat (limited to 'lib/IRC/Client.pm6')
-rw-r--r-- | lib/IRC/Client.pm6 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/IRC/Client.pm6 b/lib/IRC/Client.pm6 index 44393f3..adc885b 100644 --- a/lib/IRC/Client.pm6 +++ b/lib/IRC/Client.pm6 @@ -81,6 +81,7 @@ 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; |