diff options
author | Sean B. Palmer <sbp@aldebaran.local> | 2012-02-16 17:55:23 +0000 |
---|---|---|
committer | Sean B. Palmer <sbp@aldebaran.local> | 2012-02-16 17:55:23 +0000 |
commit | 6198b30d76a6e7ce3ba3037f454221cbbc4b0b32 (patch) | |
tree | 8af81f74f153e55303773c9a30be0e31abd872be /irc.py | |
parent | c65639d55f7b897b21af98c522a647917327f6ba (diff) | |
download | bot-6198b30d76a6e7ce3ba3037f454221cbbc4b0b32.tar.gz bot-6198b30d76a6e7ce3ba3037f454221cbbc4b0b32.tar.bz2 bot-6198b30d76a6e7ce3ba3037f454221cbbc4b0b32.zip |
Throttle channel joins
Diffstat (limited to 'irc.py')
-rwxr-xr-x | irc.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |