From 4402f2e29b3c8d9a9a4e95d3fab3108a7ef42954 Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Tue, 2 Aug 2016 08:32:23 -0400 Subject: Make it easier to run examples off an arbitrary IRC server --- examples/02-trickster-bot.p6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/02-trickster-bot.p6') diff --git a/examples/02-trickster-bot.p6 b/examples/02-trickster-bot.p6 index 178fcdd..574a797 100644 --- a/examples/02-trickster-bot.p6 +++ b/examples/02-trickster-bot.p6 @@ -13,7 +13,7 @@ class BFF { method irc-to-me ($ where /'♥'/) { 'I ♥ YOU!' } } .run with IRC::Client.new: :nick - :host + :host(%*ENV // 'irc.freenode.net') :channels<#zofbot> :debug :plugins(Trickster, BFF) -- cgit v1.1