From: Adlai Chandrasekhar Date: Wed, 29 Jan 2014 04:46:32 +0000 (+0200) Subject: IRC announce through worker endpoint X-Git-Url: https://git.novaco.in/?p=p2pool.git;a=commitdiff_plain;h=e25dff9765a0e66c3c39bc82659e7b5f21861b34 IRC announce through worker endpoint --- diff --git a/p2pool/main.py b/p2pool/main.py index 42635f1..9c121fd 100644 --- a/p2pool/main.py +++ b/p2pool/main.py @@ -289,7 +289,7 @@ def main(args, net, datadir_path, merged_urls, worker_endpoint): print 'IRC connection lost:', reason.getErrorMessage() class IRCClientFactory(protocol.ReconnectingClientFactory): protocol = IRCClient - reactor.connectTCP("irc.freenode.net", 6667, IRCClientFactory()) + reactor.connectTCP("irc.freenode.net", 6667, IRCClientFactory(), bindAddress=(worker_endpoint[0], 0)) @defer.inlineCallbacks def status_thread():