From ba22b18cc42d8457e6ed46ba582461d6e5bfcf28 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 10 Apr 2020 11:15:54 -0700 Subject: [PATCH] Replace references to PyLink 2.1 with 3.0 --- plugins/relay.py | 2 +- plugins/servprotect.py | 2 +- protocols/inspircd.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/relay.py b/plugins/relay.py index 8c3d6f7..8f3d48f 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -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 diff --git a/plugins/servprotect.py b/plugins/servprotect.py index a6031f5..d83f5ed 100644 --- a/plugins/servprotect.py +++ b/plugins/servprotect.py @@ -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 diff --git a/protocols/inspircd.py b/protocols/inspircd.py index e9aace0..3abbf46 100644 --- a/protocols/inspircd.py +++ b/protocols/inspircd.py @@ -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)