git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f727ee1
)
IRC announce through worker endpoint
author
Adlai Chandrasekhar
<munchking@gmail.com>
Wed, 29 Jan 2014 04:46:32 +0000 (06:46 +0200)
committer
Adlai Chandrasekhar
<munchking@gmail.com>
Wed, 29 Jan 2014 05:14:07 +0000 (07:14 +0200)
p2pool/main.py
patch
|
blob
|
history
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
42635f1
..
9c121fd
100644
(file)
--- 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():