3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

nefarious: fix type error in handle_join

This commit is contained in:
James Lu 2016-04-15 12:12:17 -07:00
parent 1676d33795
commit 8a7c39691f

View File

@ -533,7 +533,7 @@ class P10Protocol(Protocol):
"""Handles incoming JOINs and channel creations."""
# <- ABAAA C #test3 1460744371
# <- ABAAB J #test3 1460744371
ts = args[1]
ts = int(args[1])
if args[0] == '0' and command == 'JOIN':
# /join 0; part the user from all channels
oldchans = self.irc.users[numeric].channels.copy()