git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
f727ee1
)
Merge pull request #162 from adlai/master
author
Forrest Voight
<forrest.voight@gmail.com>
Wed, 29 Jan 2014 19:59:43 +0000 (11:59 -0800)
committer
Forrest Voight
<forrest.voight@gmail.com>
Wed, 29 Jan 2014 19:59:43 +0000 (11:59 -0800)
IRC announce through worker endpoint
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():