mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 09:19:23 +01:00
Irc: deprecate the botdata field as well (#273)
This commit is contained in:
parent
e8bf1d08bc
commit
9a9e0b2c20
@ -42,7 +42,10 @@ class Irc(utils.DeprecatedAttributesObject):
|
|||||||
(a string), the name of the protocol module to use for this connection,
|
(a string), the name of the protocol module to use for this connection,
|
||||||
and a configuration object.
|
and a configuration object.
|
||||||
"""
|
"""
|
||||||
self.deprecated_attributes = {'conf': 'Deprecated since 1.2; consider switching to conf.conf'}
|
self.deprecated_attributes = {
|
||||||
|
'conf': 'Deprecated since 1.2; consider switching to conf.conf',
|
||||||
|
'botdata': "Deprecated since 1.2; consider switching to conf.conf['bot']",
|
||||||
|
}
|
||||||
|
|
||||||
self.loghandlers = []
|
self.loghandlers = []
|
||||||
self.name = netname
|
self.name = netname
|
||||||
|
Loading…
Reference in New Issue
Block a user