mirror of
https://github.com/wr34k/IRCUFC.git
synced 2024-11-21 23:16:38 +00:00
Removed unused vars, clearing code formatting
This commit is contained in:
parent
b021bd8ae8
commit
6f8b1ac7e9
@ -18,5 +18,6 @@ class Fighter(object):
|
||||
|
||||
self.first_time_lowhp = True
|
||||
|
||||
# Will be used once PALMARES is implemented
|
||||
self.wins = 0
|
||||
self.looses = 0
|
||||
|
13
irc.py
13
irc.py
@ -34,12 +34,11 @@ class Irc(object):
|
||||
self.last_cmd = {}
|
||||
self.flood_flag = {}
|
||||
self.flood_count = {}
|
||||
self.timeouts = {}
|
||||
|
||||
self.mirc = MIRCFormat()
|
||||
|
||||
self.optkey = optkey
|
||||
|
||||
self.log = Log(DEBUG)
|
||||
self.cmds = IrcCommands(self)
|
||||
|
||||
self.server = server
|
||||
self.port = port
|
||||
@ -49,14 +48,10 @@ class Irc(object):
|
||||
self.user = username
|
||||
self.real = realname
|
||||
|
||||
self.optkey = optkey
|
||||
|
||||
self.channel,self.chankey = channel
|
||||
|
||||
self.nameslists = {}
|
||||
self.nameslistFlag = {}
|
||||
|
||||
self.cmds = IrcCommands(self)
|
||||
|
||||
self.timeouts = {}
|
||||
|
||||
def connect(self):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user