summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-01-04 15:10:34 +0100
committerlassulus <lassulus@googlemail.com>2014-01-04 15:10:34 +0100
commit4015f025fa2321b0362aeb1ac1116cdddb89fad6 (patch)
treef3aa63317f3dfa3b1d0c37bfb5d17ae24d88ce86
parent79ea1e311ae6d1015c8cffe7855b23bdabf5ea6a (diff)
ircbot: remove debug output
-rwxr-xr-xircbot/contoller.py3
1 files changed, 0 insertions, 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])