summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xircbot/contoller.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ircbot/contoller.py b/ircbot/contoller.py
index a6c005c3..9e728657 100755
--- a/ircbot/contoller.py
+++ b/ircbot/contoller.py
@@ -11,8 +11,8 @@ class NewsBot(irc.bot.SingleServerIRCBot):
self.chan = chan
self.to = timeout
- def start(self):
- self.bot = _thread.start_new_thread(irc.bot.SingleServerIRCBot.start, (self,))
+# def start(self):
+# self.bot = _thread.start_new_thread(irc.bot.SingleServerIRCBot.start, (self,))
# def send(self, string):
# if len(string) < 450:
@@ -90,7 +90,6 @@ feedfile = 'new_feeds'
bots = {}
knews = NewsBot('knews')
-knews.start()
#config file reading
F = open(feedfile, "r")
@@ -103,3 +102,5 @@ for line in lines:
bot = rssbot.RssBot(linear[1], linear[0])
bot.start()
bots[linear[0]] = bot
+
+knews.start()