Removed unused vars, clearing code formatting

This commit is contained in:
wr34k 2018-06-29 14:26:42 +02:00
parent b021bd8ae8
commit 6f8b1ac7e9
2 changed files with 18 additions and 22 deletions

View File

@ -18,5 +18,6 @@ class Fighter(object):
self.first_time_lowhp = True self.first_time_lowhp = True
# Will be used once PALMARES is implemented
self.wins = 0 self.wins = 0
self.looses = 0 self.looses = 0

21
irc.py
View File

@ -29,17 +29,16 @@ class Irc(object):
def __init__(self): def __init__(self):
self.sock = None self.sock = None
self.lag=False self.lag = False
self.last_cmd={} self.last_cmd = {}
self.flood_flag={} self.flood_flag = {}
self.flood_count={} self.flood_count = {}
self.timeouts = {}
self.mirc = MIRCFormat() self.mirc = MIRCFormat()
self.optkey = optkey
self.log = Log(DEBUG) self.log = Log(DEBUG)
self.cmds = IrcCommands(self)
self.server = server self.server = server
self.port = port self.port = port
@ -49,14 +48,10 @@ class Irc(object):
self.user = username self.user = username
self.real = realname self.real = realname
self.channel, self.chankey = channel self.optkey = optkey
self.nameslists = {} self.channel,self.chankey = channel
self.nameslistFlag = {}
self.cmds = IrcCommands(self)
self.timeouts = {}
def connect(self): def connect(self):
try: try: