# Declare the administrative information.
##
-$VERSION = '15.01.01';
+$VERSION = '18.01.01';
%IRSSI = (
authors => 'Geert Hauwaerts',
description => 'This script shows incoming notices into the active channel.',
license => 'GNU General Public License',
url => 'https://github.com/GeertHauwaerts/irssi-scripts/blob/master/src/active_notice.pl',
- changed => 'Thu Jun 25 20:46:51 UTC 2015',
+ changed => '2018-07-27',
);
return;
}
+ ##
+ # replace a single % with %%. (by Dwarf <dwarf@rizon.net>)
+ ##
+ $text =~ s/%/%%/g;
+
##
# Print the notice in the active window.
###
# Display the script banner.
##
-Irssi::printformat(MSGLEVEL_CLIENTCRAP, 'active_notice_loaded', $IRSSI{name}, $VERSION, $IRSSI{authors});
\ No newline at end of file
+Irssi::printformat(MSGLEVEL_CLIENTCRAP, 'active_notice_loaded', $IRSSI{name}, $VERSION, $IRSSI{authors});