- A168B17F05E71BEC4ED700EDA6AE588D080F41D1B93842044709FC8349D1A44116692FCCCDC10861DC1E4E317F02F7456E70DCF66945FD9451D83B83F09A85E4
+ F8AAAC719D30714FB9D79E3A0E59DAF3FC306D75D1AEF8837919696FF81787C082EAFFB5C42CC4CDFA85C78267C2CF362C5BD2C623D11CAFC4AE32AC471D1D19
logotron/bot.py
(229 . 7)(229 . 10)
32 # Auth to server
33 send("NICK %s\r\n" % Nick)
34 send("USER %s %s %s :%s\r\n" % (Nick, Nick, Nick, Nick))
35 send("NICKSERV IDENTIFY %s %s\r\n" % (Nick, Pass))
36
37 # If this is a production bot, rather than test, there will be a PW:
38 if Pass != "":
39 send("NICKSERV IDENTIFY %s %s\r\n" % (Nick, Pass))
40
41 time.sleep(Join_Delay) # wait to join until fleanode eats auth
42
(258 . 7)(261 . 10)
44 connected = False
45 continue
46 try:
47 data = data.strip(b'\r\n').decode("utf-8")
48 try:
49 data = data.strip(b'\r\n').decode("utf-8")
50 except UnicodeDecodeError:
51 data = data.strip(b'\r\n').decode('latin-1')
52 for l in data.splitlines():
53 received_line(l)
54 continue