3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

nefarious: remove untested parsing of umode +h for now

This commit is contained in:
James Lu 2016-04-29 22:32:08 -07:00
parent b78b911323
commit 0061414ee5
2 changed files with 2 additions and 6 deletions

View File

@ -41,7 +41,7 @@ Support for these IRCds exist, but are not tested as frequently and thoroughly.
* Nefarious IRCu (2.0.0+) - module `nefarious` (*experimental*) * Nefarious IRCu (2.0.0+) - module `nefarious` (*experimental*)
- Note: FAKE hosts (`+f`), account cloaks (user and oper), and hashed IP cloaks are supported. Make sure you configure PyLink to match your IRCd settings. - Note: FAKE hosts (`+f`), account cloaks (user and oper), and hashed IP cloaks are supported. Make sure you configure PyLink to match your IRCd settings.
- Host changing for internal PyLink clients does not work. It should work for other users though. - Host changing for internal PyLink clients does not work. It should work for other users though.
- Usermode `+h ident@host` is not fully supported. - Usermode `+h ident@host` is not supported at this time.
## Setup ## Setup

View File

@ -807,11 +807,7 @@ class P10Protocol(Protocol):
if 'x' not in modes: # +x isn't set, so cloaking is disabled. if 'x' not in modes: # +x isn't set, so cloaking is disabled.
newhost = uobj.realhost newhost = uobj.realhost
else: else:
if 'h' in modes: if 'f' in modes:
# +h represents the hidden (/sethost) host of the user. It overrides
# everything else.
newhost = modes['h']
elif 'f' in modes:
# +f represents another way of setting vHosts, via a command called FAKE. # +f represents another way of setting vHosts, via a command called FAKE.
# Atheme uses this for vHosts, afaik. # Atheme uses this for vHosts, afaik.
newhost = modes['f'] newhost = modes['f']