aboutsummaryrefslogtreecommitdiff
path: root/examples/03-github-notifications.p6
diff options
context:
space:
mode:
Diffstat (limited to 'examples/03-github-notifications.p6')
-rw-r--r--examples/03-github-notifications.p62
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/03-github-notifications.p6 b/examples/03-github-notifications.p6
index 8dec6d2..58596c6 100644
--- a/examples/03-github-notifications.p6
+++ b/examples/03-github-notifications.p6
@@ -32,7 +32,7 @@ class GitHub::Notifications does IRC::Client::Plugin {
.run with IRC::Client.new:
:nick<MahBot>
- :host<irc.freenode.net>
+ :host(%*ENV<IRC_CLIENT_HOST> // 'irc.freenode.net')
:channels<#zofbot>
:debug
:plugins(GitHub::Notifications.new)