diff options
author | Zoffix Znet <cpan@zoffix.com> | 2016-08-02 08:32:23 -0400 |
---|---|---|
committer | Zoffix Znet <cpan@zoffix.com> | 2016-08-02 08:32:23 -0400 |
commit | 4402f2e29b3c8d9a9a4e95d3fab3108a7ef42954 (patch) | |
tree | 064bca27b03f79126346469db18d47e78b001b07 /examples/01-uppercase-bot.p6 | |
parent | 0bbb3c0fe6521f11f4a6d1338b48581fc4334c6a (diff) |
Make it easier to run examples off an arbitrary IRC server
Diffstat (limited to 'examples/01-uppercase-bot.p6')
-rw-r--r-- | examples/01-uppercase-bot.p6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/01-uppercase-bot.p6 b/examples/01-uppercase-bot.p6 index d846538..c432710 100644 --- a/examples/01-uppercase-bot.p6 +++ b/examples/01-uppercase-bot.p6 @@ -2,7 +2,7 @@ use lib <lib>; use IRC::Client; .run with IRC::Client.new: :nick<MahBot> - :host<irc.freenode.net> + :host(%*ENV<IRC_CLIENT_HOST> // 'irc.freenode.net') :channels<#zofbot> :debug :plugins(class { method irc-to-me ($_) { .text.uc } }) |