Commits

Anonymous committed fc6dff4

- bugfix in irc bot

Comments (0)

Files changed (1)

pygameweb/notification/ircbot.py

                 if new_topic != old_topic:
                     self.topic(channel, new_topic.encode("utf-8"))
             else:
-                #print "don't know topic of ", channel
+                print "don't know topic of ", channel
 
 class BotFactory(protocol.ClientFactory):
 
         self.buffer.append(line)
         if self.bot and self.buffer:
             for line in self.buffer:
-                if "::settitle::":
+                if "::settitle::" in line: #! test
                     self.bot.set_title()
                 else:
                     self.bot.broadcast(line)