mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
p10: rename the 'p10_ircd' option to 'ircd', for consistency with ts6
This commit is contained in:
parent
3d27e4a347
commit
b8a254167c
@ -318,7 +318,8 @@ servers:
|
||||
|
||||
# With this key set to 'generic', neither of these host changing features are enabled
|
||||
# and a baseline RFC1459 mode set is used. This configuration is not officially supported.
|
||||
p10_ircd: nefarious
|
||||
# This option was previously named "p10_ircd" in PyLink 1.2, but that name is now deprecated.
|
||||
ircd: nefarious
|
||||
|
||||
# Determines whether account-based cloaks should be used (someone.users.yournet.org
|
||||
# format). This should match your IRCd configuration:
|
||||
|
@ -695,7 +695,7 @@ class P10Protocol(IRCS2SProtocol):
|
||||
"""Updates the ident or host of any connected client."""
|
||||
uobj = self.users[target]
|
||||
|
||||
ircd = self.serverdata.get('p10_ircd', 'nefarious').lower()
|
||||
ircd = self.serverdata.get('ircd', self.serverdata.get('p10_ircd', 'nefarious')).lower()
|
||||
|
||||
if self.is_internal_client(target):
|
||||
# Host changing via SETHOST is only supported on nefarious and snircd.
|
||||
|
Loading…
Reference in New Issue
Block a user