mirror of
https://github.com/jlu5/PyLink.git
synced 2025-05-03 13:17:32 +02:00
p10: fix hashed cloaks check reading from the wrong config variable
(cherry picked from commit 043a147b41d5d23633bfad6ec261d1f058e8c276) Conflicts: protocols/p10.py
This commit is contained in:
parent
c35c8cd4aa
commit
d5d140f4b0
@ -942,7 +942,7 @@ class P10Protocol(IRCS2SProtocol):
|
|||||||
accountname = uobj.services_account
|
accountname = uobj.services_account
|
||||||
newhost = "%s.%s" % (accountname, suffix)
|
newhost = "%s.%s" % (accountname, suffix)
|
||||||
|
|
||||||
elif 'C' in modes and self.irc.serverdata.get('use_account_cloaks'):
|
elif 'C' in modes and self.irc.serverdata.get('use_hashed_cloaks'):
|
||||||
# +C propagates hashed IP cloaks, similar to UnrealIRCd. (thank god we don't
|
# +C propagates hashed IP cloaks, similar to UnrealIRCd. (thank god we don't
|
||||||
# need to generate these ourselves)
|
# need to generate these ourselves)
|
||||||
newhost = modes['C']
|
newhost = modes['C']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user