From 6198b30d76a6e7ce3ba3037f454221cbbc4b0b32 Mon Sep 17 00:00:00 2001 From: "Sean B. Palmer" Date: Thu, 16 Feb 2012 17:55:23 +0000 Subject: Throttle channel joins --- irc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'irc.py') diff --git a/irc.py b/irc.py index 767aa27..30d1146 100755 --- a/irc.py +++ b/irc.py @@ -46,7 +46,7 @@ class Bot(asynchat.async_chat): # asynchat.async_chat.push(self, *args, **kargs) def __write(self, args, text=None): - # print '%r %r %r' % (self, args, text) + # print 'PUSH: %r %r %r' % (self, args, text) try: if text is not None: # 510 because CR and LF count too, as nyuszika7h points out @@ -102,7 +102,7 @@ class Bot(asynchat.async_chat): line = line[:-1] self.buffer = '' - # print line + # print 'GOT:', repr(line) if line.startswith(':'): source, line = line[1:].split(' ', 1) else: source = None -- cgit v1.2.3-1-g7c22