mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +01:00
Replace references to PyLink 2.1 with 3.0
This commit is contained in:
parent
a143d98ac1
commit
ba22b18cc4
@ -16,7 +16,7 @@ RELAY_UNLOADED_MSG = "Relay plugin unloaded."
|
||||
try:
|
||||
import cachetools
|
||||
except ImportError as e:
|
||||
raise ImportError("PyLink Relay requires cachetools as of PyLink 2.1: https://pypi.org/project/cachetools/") from e
|
||||
raise ImportError("PyLink Relay requires cachetools as of PyLink 3.0: https://pypi.org/project/cachetools/") from e
|
||||
|
||||
try:
|
||||
import unidecode
|
||||
|
@ -8,7 +8,7 @@ from pylinkirc.log import log
|
||||
try:
|
||||
from cachetools import TTLCache
|
||||
except ImportError:
|
||||
log.warning('servprotect: expiringdict support is deprecated as of PyLink 2.1; consider installing cachetools instead')
|
||||
log.warning('servprotect: expiringdict support is deprecated as of PyLink 3.0; consider installing cachetools instead')
|
||||
from expiringdict import ExpiringDict as TTLCache
|
||||
|
||||
# check for definitions
|
||||
|
@ -513,7 +513,7 @@ class InspIRCdProtocol(TS6BaseProtocol):
|
||||
"and should not be relied upon for anything important.",
|
||||
self.name)
|
||||
elif protocol_version >= 1205 > self.proto_ver:
|
||||
log.warning("(%s) PyLink 2.1 introduces native support for InspIRCd 3. "
|
||||
log.warning("(%s) PyLink 3.0 introduces native support for InspIRCd 3. "
|
||||
"You should enable this by setting the 'target_version' option in your "
|
||||
"InspIRCd server block to 'insp3'. Otherwise, some features will not "
|
||||
"work correctly!", self.name)
|
||||
|
Loading…
Reference in New Issue
Block a user