3
0
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:
James Lu 2015-09-17 19:07:37 -07:00
parent 10f3cd1fb8
commit fb91ff8ea3
2 changed files with 0 additions and 9 deletions

View File

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

View File

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