mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-17 14:01:03 +01:00
Revert "relay: differentiate between PRIVMSG vs. NOTICE via a blacklist"
This reverts commit d81a9cd5c3f51174755d64434ddf6c5f2b0d7988.
This commit is contained in:
parent
bcb0fecfa8
commit
ec9063b9e8
@ -1320,7 +1320,7 @@ def handle_part(irc, numeric, command, args):
|
||||
utils.add_hook(handle_part, 'PART')
|
||||
|
||||
def handle_messages(irc, numeric, command, args):
|
||||
notice = ('PRIVMSG' not in command)
|
||||
notice = (command in ('NOTICE', 'PYLINK_SELF_NOTICE'))
|
||||
target = args['target']
|
||||
text = args['text']
|
||||
if irc.is_internal_client(numeric) and irc.is_internal_client(target):
|
||||
|
Loading…
x
Reference in New Issue
Block a user