Browse Source

Merge branch 'release-0.7.6'

master 0.7.6
Neil Booth 8 years ago
parent
commit
8b9750982b
  1. 5
      docs/RELEASE-NOTES
  2. 8
      server/irc.py
  3. 2
      server/version.py

5
docs/RELEASE-NOTES

@ -1,3 +1,8 @@
version 0.7.6
-------------
- Fix IRC regression of 0.7.5 - would always connect to IRC by default
version 0.7.5
-------------

8
server/irc.py

@ -41,6 +41,7 @@ class IRC(LoggedClass):
ssl_text = port_text('s', env.report_ssl_port, 50002)
# If this isn't something the client expects you won't appear
# in the client's network dialog box
self.env = env
version = '1.0'
self.real_name = '{} v{} {} {}'.format(env.report_host, version,
tcp_text, ssl_text)
@ -54,16 +55,15 @@ class IRC(LoggedClass):
self.irc_port = env.coin.IRC_PORT
self.peer_regexp = re.compile('({}[^!]*)!'.format(self.prefix))
self.peers = {}
self.disabled = env.irc is None
async def start(self, caught_up):
'''Start IRC connections once caught up if enabled in environment.'''
await caught_up.wait()
try:
if self.disabled:
self.logger.info('IRC is disabled')
else:
if self.env.irc:
await self.join()
else:
self.logger.info('IRC is disabled')
except asyncio.CancelledError:
pass
except Exception as e:

2
server/version.py

@ -1 +1 @@
VERSION = "ElectrumX 0.7.5"
VERSION = "ElectrumX 0.7.6"

Loading…
Cancel
Save