mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +01:00
relay: demote "PM from server" warnings to debug
InspIRCd's m_chanlog.so sends these on purpose, so it's best not to warn about this "feature" endlessly...
This commit is contained in:
parent
b2643a0ac8
commit
89f9b46ec0
@ -1050,8 +1050,8 @@ def handle_messages(irc, numeric, command, args):
|
||||
# but whatever).
|
||||
return
|
||||
elif (numeric in irc.servers) and (not notice):
|
||||
log.warning('(%s) relay.handle_messages: dropping PM from server %s to %s',
|
||||
irc.name, numeric, target)
|
||||
log.debug('(%s) relay.handle_messages: dropping PM from server %s to %s',
|
||||
irc.name, numeric, target)
|
||||
return
|
||||
|
||||
relay = get_relay((irc.name, target))
|
||||
|
Loading…
Reference in New Issue
Block a user