3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

Irc: remove unused "bot_clients" attribute

Thanks to @IotaSpencer for pointing this out!
This commit is contained in:
James Lu 2017-01-21 11:08:37 -08:00
parent d749fbb2ab
commit 7bbe77fe4a

View File

@ -47,7 +47,6 @@ class Irc():
self.sid = None self.sid = None
self.serverdata = conf['servers'][netname] self.serverdata = conf['servers'][netname]
self.botdata = conf['bot'] self.botdata = conf['bot']
self.bot_clients = {}
self.protoname = proto.__name__.split('.')[-1] # Remove leading pylinkirc.protocols. self.protoname = proto.__name__.split('.')[-1] # Remove leading pylinkirc.protocols.
self.proto = proto.Class(self) self.proto = proto.Class(self)
self.pingfreq = self.serverdata.get('pingfreq') or 90 self.pingfreq = self.serverdata.get('pingfreq') or 90