mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-11 20:52:42 +01:00
Remove allow_abcd attributes from protocols (not needed anymore)
This commit is contained in:
parent
10f3cd1fb8
commit
fb91ff8ea3
@ -405,12 +405,6 @@ class Protocol():
|
||||
self.casemapping = 'rfc1459'
|
||||
self.hook_map = {}
|
||||
|
||||
# Whether the IRCd allows forcing user mode changes on other servers' clients.
|
||||
self.allow_forceset_usermodes = False
|
||||
|
||||
# Ditto, but for setting user mode +o. InspIRCd forbids this as an example.
|
||||
self.allow_forceoper = False
|
||||
|
||||
class FakeProto(Protocol):
|
||||
"""Dummy protocol module for testing purposes."""
|
||||
def handle_events(self, data):
|
||||
|
@ -27,9 +27,6 @@ class InspIRCdProtocol(TS6BaseProtocol):
|
||||
self.sidgen = utils.TS6SIDGenerator(self.irc.serverdata["sidrange"])
|
||||
self.uidgen = {}
|
||||
|
||||
# Whether the IRCd allows forcing user mode changes on other servers' clients.
|
||||
self.allow_forceset_usermodes = True
|
||||
|
||||
def spawnClient(self, nick, ident='null', host='null', realhost=None, modes=set(),
|
||||
server=None, ip='0.0.0.0', realname=None, ts=None, opertype=None,
|
||||
manipulatable=False):
|
||||
|
Loading…
Reference in New Issue
Block a user