stfnm/weechat-scripts — pull request #16 by jamielinux (2014-12-09 07:54:27+00:00)
Title: redact_priv_msg should only redact private messages

Sorry, missed out an essential piece of logic. Without this test, highlighted messages would also be redacted if `redact_priv_msg` is enabled (regardless of whether `show_priv_msg` is enabled).