Browse Source

more intelligible server messages

master
XJulep 4 years ago
parent
commit
df1817ef02
  1. 3
      irc.py

3
irc.py

@ -15,7 +15,8 @@ while True:
for i in srvmsg.split("\n")[:-1]:
i = i.split()
print(i)
#print(i)
print(srvmsg)
if i[0] == "PING":
s.send(bytes("PONG %s\n" % i[1], "UTF-8"))

Loading…
Cancel
Save