From: vague666 Date: Sun, 11 Nov 2018 15:10:32 +0000 (+0100) Subject: Use signal_continue instead of signal_stop X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=5abe2878336b2d39acce620e961ba82a643b14c0;p=irssi-scripts.irssi.org.git Use signal_continue instead of signal_stop --- diff --git a/scripts/mass_hilight_blocker.pl b/scripts/mass_hilight_blocker.pl index 6a39274..a0311d8 100644 --- a/scripts/mass_hilight_blocker.pl +++ b/scripts/mass_hilight_blocker.pl @@ -49,9 +49,9 @@ sub sig_printtext { if ($num_nicks>=($max_num_nicks)) # all criteria match? { - $window->print($text, MSGLEVEL_CLIENTCRAP); # inform user + $dest->{level} = MSGLEVEL_CLIENTCRAP; + Irssi::signal_continue($dest, $text, $stripped); # continue with changed level $window->print('mass-hilighting in above message ('.$num_nicks.' nicks)',MSGLEVEL_CLIENTCRAP); - Irssi::signal_stop(); # don't process any further } } }