From 4015f025fa2321b0362aeb1ac1116cdddb89fad6 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 4 Jan 2014 15:10:34 +0100 Subject: ircbot: remove debug output --- ircbot/contoller.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ircbot/contoller.py b/ircbot/contoller.py index fcd839b5..71d04536 100755 --- a/ircbot/contoller.py +++ b/ircbot/contoller.py @@ -30,9 +30,7 @@ class NewsBot(irc.bot.SingleServerIRCBot): connection.join(self.chan) def on_privmsg(self, connection, event): - print(event.source) args_array = event.arguments[0].split() - print(args_array) if args_array[0][:-1]==self.name: answer = self.read_message(args_array[1:]) self.connection.privmsg(self.chan, answer) @@ -42,7 +40,6 @@ class NewsBot(irc.bot.SingleServerIRCBot): self.on_privmsg(connection, event) def read_message(self, args): - print('reading message') try: if args[0] == 'add': bot = rssbot.RssBot(args[2], args[1]) -- cgit v1.2.3