From ec9063b9e8311192efe64c863697e9cc6850adca Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 8 Jan 2018 20:52:22 -0800 Subject: [PATCH] Revert "relay: differentiate between PRIVMSG vs. NOTICE via a blacklist" This reverts commit d81a9cd5c3f51174755d64434ddf6c5f2b0d7988. --- plugins/relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index 5973bc6..64c474b 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -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):