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

relay: also log the extban prefix strings being readded

This commit is contained in:
James Lu 2017-12-07 11:33:16 -08:00
parent a2cb4daa46
commit d54bf0d06c

View File

@ -1032,8 +1032,9 @@ def get_supported_cmodes(irc, remoteirc, channel, modes):
# We broke up an acting extban earlier. Now, rewrite it into a new mode by joining the prefix and data together.
while pending_extban_prefixes:
next_prefix = pending_extban_prefixes.pop()
log.debug("(%s) relay.get_supported_cmodes: readding extban prefix %r to (%r, %r)",
irc.name, next_prefix, supported_char, arg)
log.debug("(%s) relay.get_supported_cmodes: readding extban prefix %r (%r) to (%r, %r) for %s",
irc.name, next_prefix, remoteirc.extbans_acting[next_prefix],
supported_char, arg, remoteirc.name)
arg = remoteirc.extbans_acting[next_prefix] + arg
if mode_parse_aborted: