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

main.py: don't assign self.socket twice

This commit is contained in:
James Lu 2015-07-03 18:07:32 -07:00
parent 0c8a30323a
commit fed107b12b

View File

@ -13,7 +13,6 @@ import classes
class Irc(): class Irc():
def __init__(self, proto): def __init__(self, proto):
# Initialize some variables # Initialize some variables
self.socket = socket.socket()
self.connected = False self.connected = False
self.users = {} self.users = {}
self.channels = defaultdict(classes.IrcChannel) self.channels = defaultdict(classes.IrcChannel)