aboutsummaryrefslogtreecommitdiff
path: root/examples/04-bash-bot.p6
diff options
context:
space:
mode:
Diffstat (limited to 'examples/04-bash-bot.p6')
-rw-r--r--examples/04-bash-bot.p62
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/04-bash-bot.p6 b/examples/04-bash-bot.p6
index d3aaa4c..53baf87 100644
--- a/examples/04-bash-bot.p6
+++ b/examples/04-bash-bot.p6
@@ -20,7 +20,7 @@ class Bash {
.run with IRC::Client.new:
:nick<MahBot>
- :host<irc.freenode.net>
+ :host(%*ENV<IRC_CLIENT_HOST> // 'irc.freenode.net')
:channels<#zofbot>
:debug
:plugins(Bash.new);