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