X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=videosite.pl;h=0a8ad3f4cd50af09c87048c40252bc8793cef7c4;hb=f71d84d6376aaece61460af9711c09c6ec434444;hp=4eada1399130e734a5bcb873be33f09d7c5237df;hpb=35306939804820c033c8e25ab5aa5134f5dc5735;p=videosite.git diff --git a/videosite.pl b/videosite.pl index 4eada13..0a8ad3f 100644 --- a/videosite.pl +++ b/videosite.pl @@ -78,6 +78,11 @@ sub check_for_link { $witem = Irssi::window_item_find($target); } + # Look if we should ignore this line + if ($message =~ m,(?:\s|^)/nosave(?:\s|$),) { + return; + } + # Offer the message to all Grabbers in turn foreach $g (@grabbers) { if (defined($m = $g->get($message))) {