aboutsummaryrefslogtreecommitdiff
path: root/examples/01-uppercase-bot.p6
diff options
context:
space:
mode:
Diffstat (limited to 'examples/01-uppercase-bot.p6')
-rw-r--r--examples/01-uppercase-bot.p62
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 } })