mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 11:42:51 +01:00
p10: fix hashed cloaks check reading from the wrong config variable
This commit is contained in:
parent
3d661c9713
commit
043a147b41
@ -1011,7 +1011,7 @@ class P10Protocol(IRCS2SProtocol):
|
||||
accountname = uobj.services_account
|
||||
newhost = "%s.%s" % (accountname, suffix)
|
||||
|
||||
elif 'C' in modes and self.serverdata.get('use_account_cloaks'):
|
||||
elif 'C' in modes and self.serverdata.get('use_hashed_cloaks'):
|
||||
# +C propagates hashed IP cloaks, similar to UnrealIRCd. (thank god we don't
|
||||
# need to generate these ourselves)
|
||||
newhost = modes['C']
|
||||
|
Loading…
Reference in New Issue
Block a user