3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-29 14:12:39 +01:00

nefarious: fix nameerror on start

This commit is contained in:
James Lu 2016-07-29 01:02:18 -07:00
parent 2bc066bacb
commit 8eed60a8f5

View File

@ -719,7 +719,7 @@ class P10Protocol(IRCS2SProtocol):
name = self.irc.serverdata["hostname"]
# Encode our SID using P10 Base64.
self.irc.sid = p10b64encode(self.irc.serverdata["sid"])
self.irc.sid = sid = p10b64encode(self.irc.serverdata["sid"])
desc = self.irc.serverdata.get('serverdesc') or self.irc.botdata['serverdesc']