From 538d5e2d96d5c6bbc6e42d9869b30f61f075dfe6 Mon Sep 17 00:00:00 2001 From: henne Date: Wed, 2 Nov 2016 23:26:12 +0100 Subject: [PATCH] i'm stupid --- package.json | 2 +- src/ctdo.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 844cc66..8cb52f8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hubot-edgar-snodon", "description": "ctdo raumbot", - "version": "0.0.9", + "version": "0.0.10", "author": "henne@ctdo.de", "license": "MIT", diff --git a/src/ctdo.js b/src/ctdo.js index fd2a95f..5607574 100644 --- a/src/ctdo.js +++ b/src/ctdo.js @@ -86,8 +86,8 @@ module.exports = function(robot) { var channels = process.env['HUBOT_IRC_ROOMS']; channels = channels.split(','); channels.forEach(function(c) { - setTopic(robot.brain.data.topics[c]); - } + setTopic(c, robot.brain.data.topics[c]); + }); }, 5000); // gem var gem = false;