mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-26 04:32:51 +01:00
main.py: don't assign self.socket twice
This commit is contained in:
parent
0c8a30323a
commit
fed107b12b
1
main.py
1
main.py
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user