From 472c7384792b57a476ab897535600722c9528991 Mon Sep 17 00:00:00 2001 From: "John L. Jegutanis" Date: Mon, 27 Feb 2017 00:24:20 +0200 Subject: [PATCH] fix crash in IRC initialization (#141) --- server/irc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/irc.py b/server/irc.py index ace4d04..6507c3b 100644 --- a/server/irc.py +++ b/server/irc.py @@ -35,7 +35,7 @@ class IRC(LoggedClass): self.prefix = env.coin.IRC_PREFIX self.nick = '{}{}'.format(self.prefix, env.irc_nick if env.irc_nick else - double_sha256(env.identity.host.encode()) + double_sha256(env.host.encode()) [:5].hex()) self.peer_regexp = re.compile('({}[^!]*)!'.format(self.prefix))