From d5d140f4b08eec683d37512b579dc150cf918e51 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 31 Dec 2017 12:08:19 -0800 Subject: [PATCH] p10: fix hashed cloaks check reading from the wrong config variable (cherry picked from commit 043a147b41d5d23633bfad6ec261d1f058e8c276) Conflicts: protocols/p10.py --- protocols/p10.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/p10.py b/protocols/p10.py index 7ba932d..f60cf54 100644 --- a/protocols/p10.py +++ b/protocols/p10.py @@ -942,7 +942,7 @@ class P10Protocol(IRCS2SProtocol): accountname = uobj.services_account 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 # need to generate these ourselves) newhost = modes['C']