Spam Bot, broken pipe

Someone Something fordhaivat at gmail.com
Sat Nov 7 20:00:18 EST 2009


I have a irc spam bot (only testing on my channel :P ) whose main loop is
the following:

privc="PRIVMSG "+self.channel
while True:
     self.sock.send(privc=" :SPAM SPAM SPAM!");
     time.sleep(2);

And it gives an error "Broken Pipe".
How can I fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091107/f45b606b/attachment.html>


More information about the Python-list mailing list