mirror of
https://github.com/wr34k/IRCUFC.git
synced 2024-11-22 07:26:39 +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
|
self.first_time_lowhp = True
|
||||||
|
|
||||||
|
# Will be used once PALMARES is implemented
|
||||||
self.wins = 0
|
self.wins = 0
|
||||||
self.looses = 0
|
self.looses = 0
|
||||||
|
39
irc.py
39
irc.py
@ -28,35 +28,30 @@ sys.dont_write_bytecode = True
|
|||||||
class Irc(object):
|
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.log = Log(DEBUG)
|
||||||
|
self.cmds = IrcCommands(self)
|
||||||
|
|
||||||
self.optkey = optkey
|
self.server = server
|
||||||
|
self.port = port
|
||||||
|
self.ssl = use_ssl
|
||||||
|
|
||||||
self.log = Log(DEBUG)
|
self.nick = nickname
|
||||||
|
self.user = username
|
||||||
|
self.real = realname
|
||||||
|
|
||||||
self.server = server
|
self.optkey = optkey
|
||||||
self.port = port
|
|
||||||
self.ssl = use_ssl
|
|
||||||
|
|
||||||
self.nick = nickname
|
self.channel,self.chankey = channel
|
||||||
self.user = username
|
|
||||||
self.real = realname
|
|
||||||
|
|
||||||
self.channel, self.chankey = channel
|
|
||||||
|
|
||||||
self.nameslists = {}
|
|
||||||
self.nameslistFlag = {}
|
|
||||||
|
|
||||||
self.cmds = IrcCommands(self)
|
|
||||||
|
|
||||||
self.timeouts = {}
|
|
||||||
|
|
||||||
def connect(self):
|
def connect(self):
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user