From 94defa62598d00eeed818b25226c82ee8f081592 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Fri, 16 Nov 2012 09:21:36 -0500 Subject: [PATCH] Add hunting grounds --- bot.php | 2 +- conf/settings.conf.sample | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.php b/bot.php index c7b3705..fd5a13b 100644 --- a/bot.php +++ b/bot.php @@ -20,6 +20,6 @@ $irc->registerActionhandler(SMARTIRC_TYPE_NICKCHANGE, '', $bot, 'nickFinder'); $irc->registerActionhandler(SMARTIRC_TYPE_JOIN, '', $bot, 'nickFinder'); $irc->login($conf->nick, 'ImgurBot', 0, $conf->nick); -$irc->join(array('#test')); +$irc->join(array($conf->channel)); $irc->listen(); $irc->disconnect(); diff --git a/conf/settings.conf.sample b/conf/settings.conf.sample index 56d249b..e519c43 100644 --- a/conf/settings.conf.sample +++ b/conf/settings.conf.sample @@ -4,6 +4,7 @@ "port": 6667, "target": "TestUser", "host": "TargetPartialHostMatch", + "channel": "#cs", "timing": 100, "ssl": true, "debug": false