3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-23 19:19:31 +01:00

Replace references to PyLink 2.1 with 3.0

This commit is contained in:
James Lu 2020-04-10 11:15:54 -07:00
parent a143d98ac1
commit ba22b18cc4
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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)