diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-06-05 14:26:20 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-06-05 14:26:20 +0200 |
commit | f50e1111b0957df73dd67721c12b5ae28f16a630 (patch) | |
tree | 0967838b5061078a34cddfa53816daedc96924b5 /dynobot-irc.js | |
parent | 22a84cafd4145c6f1ca2f43ba65d8717cc93e3f8 (diff) | |
download | dynobot-irc-f50e1111b0957df73dd67721c12b5ae28f16a630.tar.gz dynobot-irc-f50e1111b0957df73dd67721c12b5ae28f16a630.tar.bz2 dynobot-irc-f50e1111b0957df73dd67721c12b5ae28f16a630.tar.xz dynobot-irc-f50e1111b0957df73dd67721c12b5ae28f16a630.zip |
wip
Diffstat (limited to 'dynobot-irc.js')
-rw-r--r-- | dynobot-irc.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/dynobot-irc.js b/dynobot-irc.js index 24dd2ee..8258930 100644 --- a/dynobot-irc.js +++ b/dynobot-irc.js @@ -80,7 +80,9 @@ function info(a, b, c) { var reallyConnect = true; if(reallyConnect) { - irc = new IrcClient(nick, realName, ident, 'irc.freenode.net', 6667); + var host = 'localhost'; + // host = 'irc.freenode.net'; + irc = new IrcClient(nick, realName, ident, host, 6667); } else { var msgHandler = function(line) { @@ -107,8 +109,8 @@ function Plugin(name, script) { } var plugins = [ -// new Plugin('echo', './echo-bot/index.js') - new Plugin('atom', './atom-bot/index.js') + new Plugin('echo', './echo-bot/index.js') +// new Plugin('atom', './atom-bot/index.js') ]; _.each(plugins, function(plugin) { |