mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-23 18:54:05 +01:00
Irc: remove duplicate botdata assignment
This commit is contained in:
parent
4284853a4a
commit
b4f70bdece
@ -103,7 +103,6 @@ class Irc(utils.DeprecatedAttributesObject):
|
||||
(Re)sets an IRC object to its default state. This should be called when
|
||||
an IRC object is first created, and on every reconnection to a network.
|
||||
"""
|
||||
self.botdata = conf.conf['bot']
|
||||
self.pingfreq = self.serverdata.get('pingfreq') or 90
|
||||
self.pingtimeout = self.pingfreq * 3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user