From a35dad2b1a755cdff3f11a19472090dbd661d48c Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Fri, 1 Jan 2016 20:26:35 -0500 Subject: Use $e instead of $msg --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 305d0a5..4eac154 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ The plugin chain handling the message will stop after this plugin. ```perl6 unit class IRC::Client::Plugin::PingPong is IRC::Client::Plugin; -method irc-ping ($irc, $msg) { $irc.ssay("PONG {$irc.nick} $msg[0]") } +method irc-ping ($irc, $e) { $irc.ssay("PONG {$irc.nick} $e[0]") } ``` ### More involved handling -- cgit v1.1