mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 12:12:53 +01:00
18 lines
593 B
Python
18 lines
593 B
Python
"""
|
|
nefarious.py: Migration stub to the new P10 protocol module.
|
|
"""
|
|
|
|
from pylinkirc.log import log
|
|
from pylinkirc.protocols.p10 import *
|
|
|
|
|
|
class NefariousProtocol(P10Protocol):
|
|
def __init__(self, *args, **kwargs):
|
|
super().__init__(*args, **kwargs)
|
|
log.warning("(%s) protocols/nefarious.py has been renamed to protocols/p10.py, which "
|
|
"now also supports other IRCu variants. Please update your configuration, "
|
|
"as this migration stub will be removed in a future version.",
|
|
self.name)
|
|
|
|
Class = NefariousProtocol
|