Print filtered to $filter_window via 'Channel Message' text eventfiltered-to-window
commitbc60ab88b6899573fb545c6b4961f8ff3ce20695
authorJakub Narebski <jnareb@gmail.com>
Fri, 7 Nov 2008 20:33:51 +0000 (7 21:33 +0100)
committerJakub Narebski <jnareb@gmail.com>
Fri, 7 Nov 2008 20:33:51 +0000 (7 21:33 +0100)
treea472ffe9b744005de6bf4d4cc37d0ec236dfdfc4
parent0c33d070544df8f0405348068e15b1fb832259cf
Print filtered to $filter_window via 'Channel Message' text event

Print filtered content to specified window with nickname, via 'Channel
Message' text event, using Xchar::emit_print().  This allows for
exactly the same custom formatting as would be used in original window
(channel) if content was not filtered.

Just in case we print filtered content only if $nick is defined; this
might change in the future.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
SoftSnow_filter.pl