3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-01-23 18:54:05 +01:00

hybrid, ratbox: re-disable slash-in-hosts

This commit is contained in:
James Lu 2017-03-24 00:24:06 -07:00
parent c894beed2e
commit 9e0e47064a
2 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ class HybridProtocol(TS6Protocol):
self.caps = {} self.caps = {}
self.hook_map = {'EOB': 'ENDBURST', 'TBURST': 'TOPIC', 'SJOIN': 'JOIN'} self.hook_map = {'EOB': 'ENDBURST', 'TBURST': 'TOPIC', 'SJOIN': 'JOIN'}
self.has_eob = False self.has_eob = False
self.protocol_caps -= {'slash-in-hosts'}
def connect(self): def connect(self):
"""Initializes a connection to a server.""" """Initializes a connection to a server."""

View File

@ -13,6 +13,7 @@ class RatboxProtocol(TS6Protocol):
self.required_caps.discard('EUID') self.required_caps.discard('EUID')
self.hook_map['LOGIN'] = 'CLIENT_SERVICES_LOGIN' self.hook_map['LOGIN'] = 'CLIENT_SERVICES_LOGIN'
self.protocol_caps -= {'slash-in-hosts'}
def connect(self): def connect(self):
"""Initializes a connection to a server.""" """Initializes a connection to a server."""