Skip to content

Commit

Permalink
IRC announce through worker endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
adlai committed Jan 29, 2014
1 parent f727ee1 commit e25dff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2pool/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def connectionLost(self, reason):
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():
Expand Down

0 comments on commit e25dff9

Please sign in to comment.