Spam Bot, broken pipe

Someone Something fordhaivat at
Sun Nov 8 02:00:18 CET 2009

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

privc="PRIVMSG "
while True:
     self.sock.send(privc=" :SPAM SPAM SPAM!");

And it gives an error "Broken Pipe".
How can I fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list